Bash-4.4 distribution sources and documentation
This commit is contained in:
parent
30a978b7d8
commit
a0c0a00fc4
588 changed files with 130746 additions and 80164 deletions
10
tests/herestr1.sub
Normal file
10
tests/herestr1.sub
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue