Mercurial > repo
comparison bin/? @ 10254:5a6e97c9566d
<oerjan> sled bin/?//3itopic1=$(echo \'`\'"$topic" | sed "s/^``//")
author | HackBot |
---|---|
date | Wed, 15 Feb 2017 01:16:34 +0000 |
parents | 6a354a197616 |
children | db3819cef2c2 |
comparison
equal
deleted
inserted
replaced
10253:6a354a197616 | 10254:5a6e97c9566d |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") | 2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") |
3 topic1=$(echo '`'"$topic" | sed "s/^``//") | |
3 topic1=$(echo "$topic" | sed "s/s$//") | 4 topic1=$(echo "$topic" | sed "s/s$//") |
4 cd wisdom | 5 cd wisdom |
5 if [ \( "_$topic1"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; | 6 if [ \( "_$topic1"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; |
6 then cat /dev/urandom; | 7 then cat /dev/urandom; |
7 elif [ -e "$topic" ]; | 8 elif [ -e "$topic" ]; |