shithub: bin.rc

ref: 32dae5e4a11c5d7876ce45d221930f84d37e83e2
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