annotate bin/randquote @ 3678:e4904d8fb386

<kmc> printf \'#!/usr/bin/env python\\nimport sys\\nimport unicodedata\\n\\nprint unicodedata.lookup(sys.argv[1]).encode("utf-8")\\n\' > bin/unicode && chmod +x bin/unicode
author HackBot
date Mon, 09 Sep 2013 22:56:08 +0000
parents 88b9ca9bef51
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3013
88b9ca9bef51 <oerjan> sed -i \'1i#!/bin/bash\' bin/randquote
HackBot
parents: 3012
diff changeset
1 #!/bin/bash
3012
b8b194e85a34 <oerjan> echo \'quote "$@" | shuf -n 1\' > bin/randquote
HackBot
parents: 3010
diff changeset
2 quote "$@" | shuf -n 1