OK
to avoid the ! error you can use '' instead of "" but then it complicates a bit the BASH function
Hans
On 20 Nov 2006, at 10:52, Hans-Joerg Bibiko wrote:
Next problem:
bash$ echo "ouch!" bash: !": event not found bash$ csh -f % echo "ouch!" ouch! % exit bash$ tcsh -f : echo "ouch!" ouch! : exit bash$
It seems that BASH has a problem with '!' if it occurs in double quoted strings. I can write to avoid the error
bash$ echo "ouch!" ouch!
but then I have an escaped '!' (???)
any suggestions