changeset 5431:ccbf91a9d8f0

<shachaf> ` sed -i \'s/shuf | head -n1/shuf -n1/\' bin/wisdom
author HackBot
date Sat, 06 Jun 2015 16:26:51 +0000
parents 8c3a544b036c
children f188045fe280
files bin/wisdom
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/wisdom	Sat Jun 06 16:23:53 2015 +0000
+++ b/bin/wisdom	Sat Jun 06 16:26:51 2015 +0000
@@ -1,1 +1,1 @@
-F="$(find wisdom -type f | shuf | head -n1)"; echo -n "${F#wisdom/}/"; cat "$F"
+F="$(find wisdom -type f | shuf -n1)"; echo -n "${F#wisdom/}/"; cat "$F"