shithub: bin.rc

ref: 858601ce88f1dc0d9758d101fc7ac26cfcf1c2fb
dir: /bin/wiki/

View raw version
#!/bin/rc
title=`{echo $* | sed 's: :_:g'}
mkdir -p /tmp/wiki
hget 'http://en.wikipedia.org/api/rest_v1/page/html/'$title >/tmp/wiki/$title
echo plumb 'file:///tmp/wiki/'$title