Error from bash I've never seen before.

Karl Larsen klarsen1 at gmail.com
Wed Apr 14 12:50:05 UTC 2010


On 04/13/2010 02:15 PM, Ray Parrish wrote:
> 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.
>
> Just in case it's the script causing the error, here is it's code as well -
>
> #!/bin/bash
> curl -u "username":"password" -d status="$*"
> http://twitter.com/statuses/update.xml>  /dev/null
> echo "Tweet, tweet!!!"
>
> Note that I have replaced my username, and password in the script with
> those words so as not to endanger my Twitter account with this posting. 8-)
>
> Thanks for any help you can be.
>
> Later, Ray Parrish
>
>    
     I read that this service has been forced to take advertising as a 
way to make money. It is possible that your getting part of the ad and 
not the Tweet.

73 Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D






More information about the ubuntu-users mailing list