shithub: bin.rc

ref: 7888f0d7ab5dbd4f0a92cef3730590a4c7b9bea8
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