Mercurial > repo
annotate bin/? @ 5643:56dcce63901b
<tswett> revert
author | HackBot |
---|---|
date | Sun, 21 Jun 2015 02:47:59 +0000 |
parents | |
children | af8d14be693d |
rev | line source |
---|---|
5643 | 1 #!/bin/sh |
2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;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 |