]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/herestr.tests
Bash-4.4 distribution sources and documentation
[thirdparty/bash.git] / tests / herestr.tests
CommitLineData
7117c2d2
JA
1a=hot
2b=damn
3f1()
4{
5cat <<< "abcde"
6
7cat <<< "yo"
8
9cat <<< "$a $b"
10
11cat <<< 'what a fabulous window treatment'
12
13cat <<< 'double"quote'
14}
15
16f2()
17{
18cat <<< onetwothree
19}
20
21f3()
22{
23cat <<< "$@"
24}
25
26f1
27f2
28f3 first second third
29
30typeset -f
31
32cat <<< 'echo $(echo hi)'
33
34cat <<< "echo ho"
35
36cat <<< "echo $(echo off to work we go)"
b80f6443
JA
37
38IFS="/" read -r -d $'\000' -a uu <<< /kghfjk/jkfzuk/i
39declare -p uu
a0c0a00f
CR
40
41${THIS_SH} ./herestr1.sub