Mercurial > repo
annotate bin/? @ 4305:d4a04f61df82
<oerjan> sed -i \'2crelcome "$@" | r13\' bin/r13elcome
author | HackBot |
---|---|
date | Tue, 14 Jan 2014 22:51:29 +0000 |
parents | abb75d738ee1 |
children | 03afb1619ef2 |
rev | line source |
---|---|
3557 | 1 #!/bin/sh |
4288 | 2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") |
3557 | 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; | |
4076
fec2e65e53bc
<oerjan> sed -i \'s/\xc2\xb0_o/\xc2\xb0\xe2\x80\x8b_o/\' bin/\'?\'
HackBot
parents:
3557
diff
changeset
|
11 else echo "$1? ¯\(°_o)/¯"; exit 1; |
3557 | 12 fi |
13 |