annotate bin/randquote @ 3153:60043c395e11

<shachaf> sed -i \'s/:/${@:+ }$@:/\' bin/smlist
author HackBot
date Tue, 18 Jun 2013 23:51:16 +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