<shachaf> sed -i s/shchaf/shachaf/g bin/olist
author |
HackBot |
date |
Fri, 01 Mar 2013 01:20:19 +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
|