changeset 1764:88a36ee9de1f

<Jafet> echo -e \'#!/bin/sh\\ntopic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//")\\n([ "$topic" = "ngevd" -a -e wisdom/ngevd ] && cat /dev/urandom; exit 0; ) || [ -e "wisdom/$topic" ] || { echo "$1? \xc2\xaf\\(\xc2\xb0_o)/\xc2\xaf"; exit 1; }\\ncat "wisdom/$topic"\' > bin/q
author HackBot
date Fri, 25 Jan 2013 13:14:48 +0000
parents bff28a744c14
children 60e8fdd54f13
files bin/q
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/q	Fri Jan 25 13:14:26 2013 +0000
+++ b/bin/q	Fri Jan 25 13:14:48 2013 +0000
@@ -1,4 +1,4 @@
 #!/bin/sh
 topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//")
-([ "$topic" = "ngevd" && -e wisdom/ngevd ] && cat /dev/urandom; exit 0; ) || [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; }
+([ "$topic" = "ngevd" -a -e wisdom/ngevd ] && cat /dev/urandom; exit 0; ) || [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; }
 cat "wisdom/$topic"