]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/herestr.tests
bash-4.4 beta release
[thirdparty/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)"
37
38 IFS="/" read -r -d $'\000' -a uu <<< /kghfjk/jkfzuk/i
39 declare -p uu
40
41 ${THIS_SH} ./herestr1.sub