On Thu, Jul 23, 2009 at 4:49 PM, Fernan Bolando<fernanbola...@mailc.net> wrote:
> On Thu, Jul 23, 2009 at 6:16 PM, Richard Miller<9f...@hamnavoe.com> wrote:
>>> although it uses http, twitter has got an api that you can use outside
>>> a browser. it's much the same with several others, including aws.
>>> there are reasonably clear descriptions of the messages, and you can 
>>> construct
>>> and send them however you like, in which ever language you like.
>>
>> The 'stock' command (undocumented?) is a good example of this.
>> (It's a 14-line shell script):
>>
>> term% stock goog
>> "GOOG","Google Inc.",427.69,"7/22/2009",0.00,0
>>
>> I have a similar little script to do currency conversions:
>>
>> term% currency usd eur
>>  1 US Dollar (USD) = 0.70403 Euro (EUR)
>> term% currency -d 10/30/2000 usd eur
>>  1 US Dollar (USD) = 1.19046 Euro (EUR)
>>
>> which is just a bit of syntactic sugar wrapped around this:
>>
>> hget 
>> 'http://www.oanda.com/convert/classic?user=printable&exch='$xout'&expr='$xin'&value=1&date_fmt=us&date='$date
>>  | grep '^[   ]*1 '
>>
>>
>>
>
> now if somebody can create a script to lookup words in dictionary.com
> preformatted without ads. :)
>
> --
> http://www.fernski.com
>
>

We already have dict, and that works offline...


John
-- 
"I've tried programming Ruby on Rails, following TechCrunch in my RSS
reader, and drinking absinthe. It doesn't work. I'm going back to C,
Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba

Reply via email to