Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / tests / herestr.tests
1 a=hot
2 b=damn
3 f1()
4 {
5 cat <<< "abcde"
6
7 cat <<< "yo"
8
9 cat <<< "$a $b"
10
11 cat <<< 'what a fabulous window treatment'
12
13 cat <<< 'double"quote'
14 }
15
16 f2()
17 {
18 cat <<< onetwothree
19 }
20
21 f3()
22 {
23 cat <<< "$@"
24 }
25
26 f1
27 f2
28 f3 first second third
29
30 typeset -f
31
32 cat <<< 'echo $(echo hi)'
33
34 cat <<< "echo ho"
35
36 cat <<< "echo $(echo off to work we go)"