shithub: bin.rc

ref: 1e836fda203372381999353ed365afddb170bdbe
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