Mercurial > repo
annotate bin/? @ 2171:e00091de101f
<nortti> list
author | HackBot |
---|---|
date | Mon, 18 Feb 2013 19:42:46 +0000 |
parents | 7914d7e0b500 |
children | ddbe0012f414 |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2114 | 2 topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//") |
3 topic1=$(echo "$topic" | sed "s/s$//") | |
4 cd wisdom | |
5 if [ \( "$topic" = "ngevd" \) -a \( -e ngevd \) ]; | |
6 then cat /dev/urandom; | |
7 elif [ -e "$topic" ]; | |
8 then cat "$topic"; | |
9 elif [ -e "$topic1" ]; | |
10 then cat "$topic1"; | |
11 else echo "$1? ¯\(°_o)/¯"; exit 1; | |
12 fi | |
1826 | 13 |