<Taneb> addquote <shachaf> "Well, that was fun" -- Taneb "atriq" Ngevd
author |
HackBot |
date |
Mon, 30 Sep 2013 18:48:41 +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
|