mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-09 03:30:48 +02:00
commit bash-20150904 snapshot
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# problems with word splitting unquoted here-strings present since bash-3.2
|
||||
|
||||
x="foo bar"
|
||||
cat <<< $x # Word-splitting appears to collapse the run of whitespace
|
||||
cat <<< "$x" # Whitespace preserved, as with here doc
|
||||
|
||||
x="qux:::::bax"
|
||||
IFS=':'
|
||||
cat <<< $x # Word-splitting appears to collapse the run of whitespace
|
||||
cat <<< "$x" # Whitespace preserved, as with here doc
|
||||
Reference in New Issue
Block a user