mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-09 11:40:30 +02:00
commit bash-20160513 snapshot
This commit is contained in:
@@ -131,6 +131,10 @@ echo shopt a
|
||||
shopt a
|
||||
echo a b c d 2> /dev/null
|
||||
a b c d
|
||||
one two three four
|
||||
echo two ; echo four
|
||||
one two three four
|
||||
echo four ; echo two
|
||||
!
|
||||
!
|
||||
!
|
||||
|
||||
@@ -130,6 +130,12 @@ echo !shopt-1
|
||||
|
||||
echo !shopt*
|
||||
|
||||
# make sure a :p modifier anywhere on the line affects all history expansions
|
||||
echo one two three four
|
||||
echo !:2:p ; echo !$
|
||||
echo one two three four
|
||||
echo !$ ; echo !:2:p
|
||||
|
||||
${THIS_SH} ./histexp1.sub
|
||||
${THIS_SH} ./histexp2.sub
|
||||
${THIS_SH} ./histexp3.sub
|
||||
|
||||
Reference in New Issue
Block a user