Imported from ../bash-2.05b.tar.gz.
This commit is contained in:
parent
f73dda092b
commit
7117c2d221
362 changed files with 34387 additions and 15063 deletions
36
tests/herestr.tests
Normal file
36
tests/herestr.tests
Normal file
|
@ -0,0 +1,36 @@
|
|||
a=hot
|
||||
b=damn
|
||||
f1()
|
||||
{
|
||||
cat <<< "abcde"
|
||||
|
||||
cat <<< "yo"
|
||||
|
||||
cat <<< "$a $b"
|
||||
|
||||
cat <<< 'what a fabulous window treatment'
|
||||
|
||||
cat <<< 'double"quote'
|
||||
}
|
||||
|
||||
f2()
|
||||
{
|
||||
cat <<< onetwothree
|
||||
}
|
||||
|
||||
f3()
|
||||
{
|
||||
cat <<< "$@"
|
||||
}
|
||||
|
||||
f1
|
||||
f2
|
||||
f3 first second third
|
||||
|
||||
typeset -f
|
||||
|
||||
cat <<< 'echo $(echo hi)'
|
||||
|
||||
cat <<< "echo ho"
|
||||
|
||||
cat <<< "echo $(echo off to work we go)"
|
Loading…
Add table
Add a link
Reference in a new issue