comparison bin/? @ 6944:f72b8824feb4

<oerjan> ` sed -i \'5s/"/"_/g\' bin/\\?
author HackBot
date Wed, 24 Feb 2016 05:48:22 +0000
parents af8d14be693d
children
comparison
equal deleted inserted replaced
6943:af8d14be693d 6944:f72b8824feb4
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/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" ];
8 then cat "$topic" | rnooodl; 8 then cat "$topic" | rnooodl;
9 elif [ -e "$topic1" ]; 9 elif [ -e "$topic1" ];
10 then cat "$topic1" | rnooodl; 10 then cat "$topic1" | rnooodl;