Mercurial > repo
annotate bin/? @ 7504:a7fa0343b794
<oerjan> rm grph
author | HackBot |
---|---|
date | Tue, 19 Apr 2016 23:05:45 +0000 |
parents | f72b8824feb4 |
children |
rev | line source |
---|---|
6943 | 1 #!/bin/bash |
5643 | 2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") |
3 topic1=$(echo "$topic" | sed "s/s$//") | |
4 cd wisdom | |
6944 | 5 if [ \( "_$topic1"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; |
5643 | 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 |