Mercurial > repo
comparison bin/? @ 10256:d0d5bc896d19
<oerjan> sled bin/?//3itopic1=$(echo \'`\'"$topic" | sed \'s/^``//\')
author | HackBot |
---|---|
date | Wed, 15 Feb 2017 01:19:03 +0000 |
parents | db3819cef2c2 |
children | b727e7b800f7 |
comparison
equal
deleted
inserted
replaced
10255:db3819cef2c2 | 10256:d0d5bc896d19 |
---|---|
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" ]; |