1 trap 'rm /tmp/newhistory' 0
9 HISTIGNORE='&:#*:history*:fc*'
10 # we will end up exercising the history stifling code as a result
20 HISTFILE=/tmp/newhistory
25 history -s "echo line 2 for history"
43 # we're selecting /bin/sh -c ...; we want `sh'
45 # we're selecting /bin/sh -c ...; we want `/bin'
47 # we're selecting `echo a b c d e'; we want `e'
72 echo foo.c foo.o foo.html foo.h
78 # make sure we can use any delimiter in the substitution, not just `/'
92 # make sure single quotes inhibit history expansion
95 # make sure backslashes can quote the history expansion character
98 # but other expansions on the line should still be processed
104 # make sure that the special bash cases are not history expanded