From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <1d5d51400907231649i3c039eebj45bffcd74e8a6fe6@mail.gmail.com> References: <1d5d51400907231649i3c039eebj45bffcd74e8a6fe6@mail.gmail.com> Date: Thu, 23 Jul 2009 16:57:04 -0700 Message-ID: <7d3530220907231657g61e1b405qcd95b417fcba4f7a@mail.gmail.com> From: John Floren To: fernanbolando@mailc.net, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Does "as little software as possible" include a modern Topicbox-Message-UUID: 2b4d5306-ead5-11e9-9d60-3106f5b1d025 On Thu, Jul 23, 2009 at 4:49 PM, Fernan Bolando wr= ote: > On Thu, Jul 23, 2009 at 6:16 PM, Richard Miller<9fans@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 co= nstruct >>> 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 >> =C2=A01 US Dollar (USD) =3D 0.70403 Euro (EUR) >> term% currency -d 10/30/2000 usd eur >> =C2=A01 US Dollar (USD) =3D 1.19046 Euro (EUR) >> >> which is just a bit of syntactic sugar wrapped around this: >> >> hget 'http://www.oanda.com/convert/classic?user=3Dprintable&exch=3D'$xou= t'&expr=3D'$xin'&value=3D1&date_fmt=3Dus&date=3D'$date | grep '^[ =C2=A0 ]*= 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 --=20 "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