shithub: bin.rc

ref: 25f9e2963d99c77c9c6c259820474c89076e0921
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