<oerjan> sed -i \'s/shachaf //\' bin/list # It\'s getting annoying
author |
HackBot |
date |
Wed, 13 Feb 2013 21:50:07 +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
|