Mercurial > repo
comparison bin/? @ 9178:4a7dd09919f1
<oerjan> revert
author | HackBot |
---|---|
date | Thu, 06 Oct 2016 00:09:07 +0000 |
parents | 393748cfa9cc |
children | 4f32313b94d9 |
comparison
equal
deleted
inserted
replaced
9177:393748cfa9cc | 9178:4a7dd09919f1 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//;s,((..?)?/)*,,") | 2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") |
3 topic1=$(echo "$topic" | sed "s/s$//") | 3 topic1=$(echo "$topic" | sed "s/s$//") |
4 cd wisdom | 4 cd wisdom |
5 if [ \( "_$topic1"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; | 5 if [ \( "_$topic1"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; |
6 then cat /dev/urandom; | 6 then cat /dev/urandom; |
7 elif [ -e "$topic" ]; | 7 elif [ -e "$topic" ]; |