スクリプト言語 C

woさんに感化されました。

http://d.hatena.ne.jp/w_o/20060224#p4

なんというかワンライナーを書けるってのは重要な要素なのですよ。

http://shinh.skr.jp/dat_dir/tcci.c

以下実行例。

> time curl -s www.yahoo.co.jp | ./tcci -n 'char* p; if (p=strstr(_, "<title>")) puts(_);'
<title>Yahoo! JAPAN</title>
curl -s www.yahoo.co.jp  0.01s user 0.01s system 21% cpu 0.092 total
./tcci -n 'char* p; if (p=strstr(_, "<title>")) puts(_);'  0.01s user 0.00s system 13% cpu 0.076 total

どう見ても LL です。うそです。

日本C言語ユーザ会とかどうでしょう。どうでもいいです。

なにかあれば下記メールアドレスへ。
shinichiro.hamaji _at_ gmail.com
shinichiro.h