1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
argv[1] = <^J^J^J>
argv[1] = <++^J++>
argv[1] = <>
argv[1] = <^J^I >
argv[1] = <abc>
argv[1] = <^M^[^Gabc>
argv[1] = <hello,>
argv[2] = <world>
argv[1] = <hello, world>
argv[1] = <>
argv[1] = <$hello, world>
argv[1] = <hello, $world>
argv[1] = <hello, "world">
argv[1] = <hello, $"world">
argv[1] = <hello, $"world">
argv[1] = <$hello, chet>
argv[1] = <hello, chet>
ok
'abcd'
'abcd'
\'abcd\'
\'abcd\'
argv[1] = <A\CB>
argv[1] = <A\CB>
argv[1] = <ab$cde>
A\CB
A\CB
A\CB
argv[1] = <hello, $"world">
argv[1] = <hello, \$"world">
argv[1] = <hello, $"world">
argv[1] = <hello, $world>
1
1
;foo
argv[1] = <^I>
argv[1] = <'A^IB'>
argv[1] = <a^Ib^Ic>
argv[1] = <$'a\tb\tc'>
AD
E
hello' world
hello world!
hello' world!
' | '
' | '
x | x
x | x
' | '
' | '
' | '
' | '
' | '
' | '
x | x
'
$'\''
'
'abcd'
$'\'abcd\''
'
1
argv[1] = <^?>
0000000 del nl
0000002
0000000 esc fs gs rs us del nl
0000007
\q
foo
./nquote4.sub: line 6: quux: command not found
argv[1] = <a^A)b>
argv[1] = <a^Ab>
argv[1] = <^A>
argv[1] = <\^A>
0000000 a $ ' \ 0 1 ' b \n a 001 b \n
0000015
0000000 a $ ' \ 0 1 ' b \n a 001 b \n
0000015
0000000 A \n A \n
0000004
|