Configuration Information [Automatically generated, do not change]: Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I. -I/home/eblake/bash-3.2.25-17/src/bash-3.2 -I/home/eblake/bash-3.2.25-17/src/bash-3.2/include -I/home/eblake/bash-3.2.25-17/src/bash-3.2/lib -O2 -pipe uname output: CYGWIN_NT-5.1 Monkey 1.7.0s(0.170/4/2) 20070616 20:42:08 i686 Cygwin Machine Type: i686-pc-cygwin
Bash Version: 3.2 Patch Level: 25 Release Status: release Description: I am seeing behaviour that doesn't seem to match with the manpage. The problem is with $'strings' where there is a backslash-escaped single quote in the string, and somewhere later in the string there is an exclamation point. Behave as expected: $ echo $'!' ! $ echo $'!\'' !' Does not behave as expected: $ echo $'\'!' bash: !: event not found Repeat-By: $ echo $'\'!' Fix: $ set +H