changeset 3012:b8b194e85a34

<oerjan> echo \'quote "$@" | shuf -n 1\' > bin/randquote
author HackBot
date Fri, 31 May 2013 18:28:56 +0000
parents 247ad48f630a
children 88b9ca9bef51
files bin/randquote
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/randquote	Fri May 31 18:27:26 2013 +0000
+++ b/bin/randquote	Fri May 31 18:28:56 2013 +0000
@@ -1,1 +1,1 @@
-quote $1 | shuf | head --lines=1
+quote "$@" | shuf -n 1