# HG changeset patch # User HackBot # Date 1487121704 0 # Node ID cc2a8bbb4738180092e4dd8ff7066622e73cde9f # Parent 4506d2db5d5686a538ee1a1bcf60f4c6d76f2ef7 sled bin/?//4,$s/topic1/topic2/;10i elif [ -e "$topic1" ]; diff -r 4506d2db5d56 -r cc2a8bbb4738 bin/? --- a/bin/? Wed Feb 15 01:21:17 2017 +0000 +++ b/bin/? Wed Feb 15 01:21:44 2017 +0000 @@ -1,13 +1,14 @@ #!/bin/bash topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") topic1=$(echo '`'"$topic" | sed 's/^``//') -topic1=$(echo "$topic" | sed "s/s$//") +topic2=$(echo "$topic" | sed "s/s$//") cd wisdom -if [ \( "_$topic1"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; +if [ \( "_$topic2"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; then cat /dev/urandom; elif [ -e "$topic" ]; then cat "$topic"; - elif [ -e "$topic1" ]; - then cat "$topic1"; +elif [ -e "$topic1" ]; + elif [ -e "$topic2" ]; + then cat "$topic2"; else echo "$1? ¯\(°​_o)/¯"; exit 1; fi | rnooodl