Mercurial > repo
changeset 10340:4d09ce3dbd12
<oerjan> sled bin/?//3s,``,`\\\\(`\\\\|$\\\\),
author | HackBot |
---|---|
date | Fri, 24 Feb 2017 01:55:06 +0000 |
parents | 5297a274b9a6 |
children | 3df13269624d |
files | bin/? |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/? Fri Feb 24 01:44:45 2017 +0000 +++ b/bin/? Fri Feb 24 01:55:06 2017 +0000 @@ -1,6 +1,6 @@ #!/bin/bash topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;s/ *$//") -topic1=$(echo '`'"$topic" | sed 's/^``//') +topic1=$(echo '`'"$topic" | sed 's/^`\(`\|$\)//') topic2=$(echo "$topic" | sed "s/s$//") cd wisdom if [ \( "_$topic2"_ = "_ngevd"_ \) -a \( -e ngevd \) ];