Mercurial > repo
annotate bin/? @ 3879:f0e1b7d3e95b
<JWinslow23> learn `? `?
author | HackBot |
---|---|
date | Sat, 05 Oct 2013 21:30:57 +0000 |
parents | 9eed56c86b4e |
children | fec2e65e53bc |
rev | line source |
---|---|
3557 | 1 #!/bin/sh |
2 topic=$(echo "$1" | lowercase | sed "s/ *$//") | |
3 topic1=$(echo "$topic" | sed "s/s$//") | |
4 cd wisdom | |
5 if [ \( "$topic1" = "ngevd" \) -a \( -e ngevd \) ]; | |
6 then cat /dev/urandom; | |
7 elif [ -e "$topic" ]; | |
8 then cat "$topic" | rnooodl; | |
9 elif [ -e "$topic1" ]; | |
10 then cat "$topic1" | rnooodl; | |
11 else echo "$1? ¯\(°_o)/¯"; exit 1; | |
12 fi | |
13 |