Error from bash I've never seen before.

Christoph Bier christoph.bier at web.de
Tue Apr 13 20:33:17 UTC 2010


Ray Parrish schrieb am 13.04.2010 22:15:

> Hello,
> 
> I was just trying to run a short script that allows me to Tweet on 
> Twitter from the command line, and got a strange error I don't know how 
> to diagnose. Here is the error message -
> 
> ray at RaysComputer:~$ Tweet.sh "OPB Radio rocks the state of Oregon!"
> bash: !": event not found
> ray at RaysComputer:~$
> 
> I don't think it's a script error, as I have been using it with no 
> problems, and the error message seems to be complaining about the 
> exclamation mark at the end of my command line for some reason that I 
> have no clue about.

Try to use single quotes: Tweet.sh 'OPB Radio rocks the state of
Oregon!'

[...]

Best
Christoph (not an bash expert)
-- 
+++ Typografie-Regeln (1.7): http://zvisionwelt.de/?page_id=56





More information about the ubuntu-users mailing list