commit bash-20150904 snapshot

This commit is contained in:
Chet Ramey
2015-09-11 14:20:03 -04:00
parent 4eb81d59d0
commit de8f105604
18 changed files with 162 additions and 34 deletions
+10
View File
@@ -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