11 argv[1] = <tom dick harry>
15 argv[1] = <tom dick harry>
19 argv[1] = <tom dick harry>
23 argv[1] = <tom dick harry>
27 argv[1] = <tom dick harry>
31 argv[1] = <tom dick harry>
73 argv[1] = <foo bar bam>
74 foo = 1:2:3:4:5:6:7:8:9:10
75 bar = 1:2:3:4:5:6:7:8:9:10
76 foo1 = 1 2 3 4 5 6 7 8 9 10
77 bar1 = 1 2 3 4 5 6 7 8 9 10
78 foo2 = 1:2:3:4:5:6:7:8:9:10
79 bar2 = 1:2:3:4:5:6:7:8:9:10
80 foo3 = 1:2:3:4:5:6:7:8:9:10
81 bar3 = 1:2:3:4:5:6:7:8:9:10
86 foo = 1 2 3 4 5 6 7 8 9 10
87 bar = 1 2 3 4 5 6 7 8 9 10
88 foo1 = 1 2 3 4 5 6 7 8 9 10
89 bar1 = 1 2 3 4 5 6 7 8 9 10
90 foo2 = 1 2 3 4 5 6 7 8 9 10
91 bar2 = 1 2 3 4 5 6 7 8 9 10
92 foo3 = 1 2 3 4 5 6 7 8 9 10
93 bar3 = 1 2 3 4 5 6 7 8 9 10
98 var=${a[*]} ... one:::two:three:::four
99 var="${a[*]}" ... one:::two:three:::four
100 var=$* ... one:::two:three:::four
101 var="$*" ... one:::two:three:::four
102 var=${a[@]} ... one:::two three:::four
103 var="${a[@]}" ... one:::two three:::four
104 var=$@ ... one:::two three:::four
105 var="$@" ... one:::two three:::four
170 <123 abc> <def> <ghi 456>
171 <123 abc> <def> <ghi\ 456>
226 null string with unquoted $@
228 null string with quoted $@
301 a1=a b c a,b,c a b c a,b,c a b c a,b,c
302 a2=a b c a,b,c a b c a,b,c a b c a,b,c
303 a3=a b c a,b,c a b c a,b,c a b c a,b,c
304 a4=a b c a,b,c a b c a,b,c a b c a,b,c
426 argv[1] = <echo 1 ; echo 1>
427 argv[1] = <echo 1 2 ; echo 1>
429 argv[1] = <echo 1 ; echo 1>
430 argv[1] = <echo 1 2 ; echo 1>
441 argv[1] = <fooq//barq/>
446 argv[1] = <foo!//bar!/>
451 argv[1] = <ooq//arq/>
481 <1> <2> <3> <4> <5 1>
482 <1 1> <2> <3> <4> <5>
483 <11> <2> <3> <4> <51>
484 <1 1> <2> <3> <4> <5 1>
485 <11> <2> <3> <4> <51>
490 <1> <2> <3> <4> <5foo>
492 <1> <2> <3> <4> <5foo>
497 <1> <2> <3> <4> <5foo>
499 <1 2> <3> <4> <5 1 2>
500 <1 2 1 2> <3> <4> <5>
501 <1 21 2> <3> <4> <51 2>
502 <1 2 1 2> <3> <4> <5 1 2>
503 <1> <21 2> <3> <4> <51> <2>
504 <1 2> <3> <4> <51> <2>
505 <1> <21 2> <3> <4> <5>
509 <1> <2> <3> <4> <51> <2>
510 <1> <2> <3> <4> <5foo>
518 "${@:2}a3 a2" a$1 #works as long as $1 and 3 are swapped
521 declare -a a=([0]="y" [1]="za3 a2" [2]="ax")
523 "${@:2}b$1 b2" b3 #fails! why?
526 declare -a b=([0]="y" [1]="zbx b2" [2]="b3")
528 ${@:2}c$1 c2 c3 #works as long as quoting omitted
531 declare -a c=([0]="y" [1]="zcx" [2]="c2" [3]="c3")
565 <a> <b> <ca> <b> <c-a-b-c>
568 <a> <b> <c> <da> <b c> <d-a-b c-d>
658 <12><12><12><12><12><12>
659 <12><12><12><12><12><12>