projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git]
/
tests
/
quote.tests
1
echo "Single Quote"
2
echo 'foo
3
bar'
4
echo 'foo
5
bar'
6
echo 'foo\
7
bar'
8
9
echo "Double Quote"
10
echo "foo
11
bar"
12
echo "foo
13
bar"
14
echo "foo\
15
bar"
16
17
echo "Backslash Single Quote"
18
echo `echo 'foo
19
bar'`
20
echo `echo 'foo
21
bar'`
22
echo `echo 'foo\
23
bar'`
24
25
echo "Backslash Double Quote"
26
echo `echo "foo
27
bar"`
28
echo `echo "foo
29
bar"`
30
echo `echo "foo\
31
bar"`
32
33
echo "Double Quote Backslash Single Quote"
34
echo "`echo 'foo
35
bar'`"
36
echo "`echo 'foo
37
bar'`"
38
echo "`echo 'foo\
39
bar'`"
40
41
echo "Dollar Paren Single Quote"
42
echo $(echo 'foo
43
bar')
44
echo $(echo 'foo
45
bar')
46
echo $(echo 'foo\
47
bar')
48
49
echo "Dollar Paren Double Quote"
50
echo $(echo "foo
51
bar")
52
echo $(echo "foo
53
bar")
54
echo $(echo "foo\
55
bar")
56
57
echo "Double Quote Dollar Paren Single Quote"
58
echo "$(echo 'foo
59
bar')"
60
echo "$(echo 'foo
61
bar')"
62
echo "$(echo 'foo\
63
bar')"