Mercurial > repo
comparison bin/? @ 9177:393748cfa9cc
<oerjan> sled bin/?//2s!"[)]!;s,\\(\\(..\\?\\)\\?/\\)*,,")!
author | HackBot |
---|---|
date | Thu, 06 Oct 2016 00:08:39 +0000 |
parents | c989a1669243 |
children | 4a7dd09919f1 |
comparison
equal
deleted
inserted
replaced
9176:fd4ae3aff928 | 9177:393748cfa9cc |
---|---|
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/ *$//;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" ]; |