Alexander Leidinger ([EMAIL PROTECTED]) wrote:

> How does the bourne shell (or POSIX) compatibility mode of bash handle
> it?

jekyll:~$ /bin/sh
sh-2.05a$ echo "this is a test!"
sh: !": event not found
sh-2.05a$ echo "this is a test\!"
this is a test\!

jekyll:~$ bash --posix
bash-2.05a$ echo "this is a test!"
bash: !": event not found
bash-2.05a$ echo "this is a test\!"
this is a test\!

As I said earlier, the bash maintainers insist that this behavior is
permitted by POSIX, and so they consider it not to be a bug.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
[EMAIL PROTECTED]              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Attachment: msg00981/pgp00000.pgp
Description: PGP signature

Reply via email to