On Friday 18 July 2008 07:35, Lawrence D'Oliveiro wrote:
> pk wrote:
>
>> This is documented in man bash, and only happens in interactive shells
>> (not scripts).
>
> I just tried putting my six cases into a script, and I get exactly the
> same sort of output as interactively.
On my system, I get this:
$ echo "!"
-bash: !: event not found
$ bash -c 'echo "!"'
!
Is your system configured properly?