mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-14 10:23:55 +01:00
commit bash-20170224 snapshot
This commit is contained in:
1 parent
514049fa8e
commit
cb0c28b93b
26 files changed
+280
-56
No files matched your search
@@ -530,3 +530,42 @@ foo
|
||||
6
|
||||
./array23.sub: line 21: $( echo >&2 foo ): syntax error: operand expected (error token is "$( echo >&2 foo )")
|
||||
./array23.sub: line 22: $( echo >&2 foo ): syntax error: operand expected (error token is "$( echo >&2 foo )")
|
||||
IFS=: ${var-$*}
|
||||
abc
|
||||
def ghi
|
||||
jkl
|
||||
abc
|
||||
def ghi
|
||||
jkl
|
||||
----
|
||||
IFS=: ${var=$*}
|
||||
abc
|
||||
def ghi
|
||||
jkl
|
||||
var=abc:def ghi:jkl
|
||||
abc
|
||||
def ghi
|
||||
jkl
|
||||
var=abc:def ghi:jkl
|
||||
----
|
||||
IFS=: ${var+$*}
|
||||
abc
|
||||
def ghi
|
||||
jkl
|
||||
abc
|
||||
def ghi
|
||||
jkl
|
||||
----
|
||||
IFS= ${var-$*}
|
||||
abcdef ghijkl
|
||||
abcdef ghijkl
|
||||
----
|
||||
IFS= ${var=$*}
|
||||
abcdef ghijkl
|
||||
var=abcdef ghijkl
|
||||
abcdef ghijkl
|
||||
var=abcdef ghijkl
|
||||
----
|
||||
IFS= ${var+$*}
|
||||
abcdef ghijkl
|
||||
abcdef ghijkl
|
||||
Reference in new issue
Block a user