From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] Does "as little software as possible" include a modern
Date: Thu, 23 Jul 2009 11:16:17 +0100 [thread overview]
Message-ID: <d3aad89464f7d6e6efba3ae1644b8fea@hamnavoe.com> (raw)
In-Reply-To: <d6de64d902ebe436a71242c8af7c07cd@vitanuova.com>
> 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 '
next prev parent reply other threads:[~2009-07-23 10:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 22:44 [9fans] Does "as little software as possible" include a modern browser? Jason Catena
2009-07-22 23:13 ` andrey mirtchovski
2009-07-22 23:19 ` Charles Forsyth
2009-07-22 23:56 ` Francisco J Ballesteros
2009-07-23 0:22 ` andrey mirtchovski
2009-07-23 0:47 ` Jason Catena
2009-07-23 9:48 ` C H Forsyth
2009-07-23 10:16 ` Richard Miller [this message]
2009-07-23 23:49 ` [9fans] Does "as little software as possible" include a modern Fernan Bolando
2009-07-23 23:57 ` John Floren
2009-07-24 0:08 ` andrey mirtchovski
2009-07-24 0:24 ` Fernan Bolando
2009-07-24 4:12 ` Federico G. Benavento
2009-07-24 16:14 ` maht
2009-07-24 16:41 ` Lorenzo Bolla
2009-07-24 16:42 ` Lorenzo Bolla
2009-07-24 17:16 ` [9fans] (no subject) erik quanstrom
2009-07-23 13:05 ` [9fans] Does "as little software as possible" include a modern browser? Jason Catena
2009-07-23 13:57 ` Steve Simon
2009-07-23 14:02 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3aad89464f7d6e6efba3ae1644b8fea@hamnavoe.com \
--to=9fans@hamnavoe.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).