Initial commit, with only sav-quotes script

This commit is contained in:
Danielle McLean 2016-10-08 12:18:21 +11:00
commit dd820bf691
No known key found for this signature in database
GPG key ID: CC91589719027E94
10 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
curl http://www.xkcdb.com/\?random1 | hxnormalize -i 0 -l 99999999999 -x | hxremove br | hxselect -cs '\n%\n' 'span.quote' | hxunent
exit ${PIPESTATUS[0]}