2 ./histexp.tests: line 37: history: !!:z: history expansion failed
3 1 for i in one two three; do echo $i; done
4 2 /bin/sh -c 'echo this is $0'
7 1 for i in one two three; do echo $i; done
8 2 /bin/sh -c 'echo this is $0'
11 5 HISTFILE=$TMPDIR/newhistory
12 6 echo line 2 for history
13 echo line 2 for history
14 echo line 2 for history
16 echo line 2 for history
18 1 for i in one two three; do echo $i; done
19 2 /bin/sh -c 'echo this is $0'
22 5 HISTFILE=$TMPDIR/newhistory
23 6 echo line 2 for history
25 8 echo line 2 for history
29 echo line 2 for history
31 echo line 8 for history
33 /bin/sh -c 'echo this is $0'
67 echo 'a' 'b' 'c' 'd' 'e'
71 foo.c foo.o foo.html foo.h
72 echo bar.c foo.o foo.html foo.h
73 bar.c foo.o foo.html foo.h
74 echo bar.c bar.o bar.html bar.h
75 bar.c bar.o bar.html bar.h
76 echo xbar.c xbar.o xbar.html xbar.h
77 xbar.c xbar.o xbar.html xbar.h
78 echo xbar.c xbar.o xbar.html xbar.h
79 xbar.c xbar.o xbar.html xbar.h
80 echo xwhix.c xwhix.o xwhix.html xwhix.h
81 xwhix.c xwhix.o xwhix.html xwhix.h
82 echo xwhix.c xwhix.o xwhix.html xwhix.h
92 8 echo line 2 for history
94 10 echo line 2 for history
95 11 echo line 8 for history
96 12 /bin/sh -c 'echo this is $0'
114 30 echo 'a' 'b' 'c' 'd' 'e'
116 32 echo foo.c foo.o foo.html foo.h
117 33 echo bar.c foo.o foo.html foo.h
118 34 echo bar.c bar.o bar.html bar.h
119 35 echo xbar.c xbar.o xbar.html xbar.h
120 36 echo xwhix.c xwhix.o xwhix.html xwhix.h
132 echo a b c d 2> /dev/null
154 echo "#!/bin/bush" set -o posix
155 #!/bin/bush set -o posix
162 echo echo a $(echo echo a)
167 echo "echo c" "$(echo echo c)"
170 echo "echo d" $(echo "echo d")
185 echo \!\! `echo echo h`
188 echo echo i `echo echo i`
197 echo echo b `echo echo b`
205 ./histexp4.sub: line 33: !': event not found
207 echo /$(echo tmp)/Step1
209 echo /<(echo tmp)/Step1 > /dev/null
211 echo $(echo /tmp)/Step1
213 echo <(echo /tmp)/Step1 > /dev/null
214 /+(one|two|three)/Step1
215 echo /+(one|two|three)/Step1
216 /+(one|two|three)/Step1
217 /*(tmp|dev|usr)/Step1
218 echo /*(tmp|dev|usr)/Step1
219 /*(tmp|dev|usr)/Step1
220 +(/one|/two|/three)/Step1
221 echo +(/one|/two|/three)/Step1
222 +(/one|/two|/three)/Step1
223 *(/tmp|/dev|/usr)/Step1
224 echo *(/tmp|/dev|/usr)/Step1
225 *(/tmp|/dev|/usr)/Step1
233 3 for f in a b c; do echo echo one; done
241 2 for f in a b c; do echo echo two; done