Re: [Hampshire] Regular Expressions

Top Page

Reply to this message
Author: Simon Reap (work)
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Regular Expressions
Dr Adam J Trickett wrote:
> On Wed, 02 Apr 2008 at 03:51:55PM +0100, Chris. Aubrey-Smith wrote:
>
>> For example, the text gives the following as an illustration:
>>
>> Quotes of one kind protect quotes of the other kind:
>>
>> $ echo "Don't do that!"
>> Don't do that!
>> $
>>
>> However, in bash on my Debian machine:
>>
>> chris@T42:~$ echo "Don't do that!"
>> bash: !": event not found
>>
>
> Works fine on my Debian machine (Bash 2.05b.0(1)-release)
>
>

reaps@saki:~$ rm ~/.bash_history
reaps@saki:~$ exec bash
reaps@saki:~$ echo "Don't do that!"
bash: !": event not found
reaps@saki:~$ bash -version
GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
reaps@saki:~$

That's one of the reasons I don't like bash!

Simon


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.