Mercurial > repo
comparison bin/? @ 10629:d5f74afaf00f
<hppavilion[1]> sled bin/?//s/lowercase/lowercase2/
author | HackBot |
---|---|
date | Wed, 12 Apr 2017 20:28:19 +0000 |
parents | 4d09ce3dbd12 |
children | c41d527b33a0 |
comparison
equal
deleted
inserted
replaced
10628:012979674f40 | 10629:d5f74afaf00f |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") | 2 topic=$(echo "$1" | lowercase2 | sed "s/noo\+dl/nooodl/;s/ *$//") |
3 topic1=$(echo '`'"$topic" | sed 's/^`\(`\|$\)//') | 3 topic1=$(echo '`'"$topic" | sed 's/^`\(`\|$\)//') |
4 topic2=$(echo "$topic" | sed "s/s$//") | 4 topic2=$(echo "$topic" | sed "s/s$//") |
5 cd wisdom | 5 cd wisdom |
6 if [ \( "_$topic2"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; | 6 if [ \( "_$topic2"_ = "_ngevd"_ \) -a \( -e ngevd \) ]; |
7 then cat /dev/urandom; | 7 then cat /dev/urandom; |