You are not logged in.

#1 2010-08-04 05:26:47

nXqd
Member
Registered: 2010-07-01
Posts: 173

Need help in twitter script

Exactly I find this beautiful script to twitter in shell with curl but the problem it ouputs the result but I don't really like that . I want it works silence, just update, no output needed.
I'm new to shell scripting, I need help from you mates . This is the one :

 twit ( ) {
    curl -u usr:pass -d status="$*" http://twitter.com/statuses/
  }

Last edited by nXqd (2010-08-04 05:27:44)


When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles

Offline

#2 2010-08-04 07:56:43

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: Need help in twitter script

twit ( ) {
    curl -u usr:pass -d status="$*" http://twitter.com/statuses/ > /dev/null 2>&1
  }

http://www.xaprb.com/blog/2006/06/06/wh … l-21-mean/

Offline

#3 2010-08-05 16:17:15

nXqd
Member
Registered: 2010-07-01
Posts: 173

Re: Need help in twitter script

@Cagnulein: Thanks for the comment and this is solved smile


When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles

Offline

#4 2010-08-05 19:02:09

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: Need help in twitter script

tag as solved tongue

Offline

Board footer

Powered by FluxBB