view bin/? @ 3911:8c112ffd5765

<kmc> addquote zzo38 [~zzo38@24-207-49-17.eastlink.ca] has quit [Quit: I need the stats for the small leech, not the big one. So, if you write it on here while I am gone then when I return I will check.]
author HackBot
date Tue, 15 Oct 2013 22:19:50 +0000
parents 9eed56c86b4e
children fec2e65e53bc
line wrap: on
line source

#!/bin/sh
topic=$(echo "$1" | lowercase | sed "s/ *$//")
topic1=$(echo "$topic" | sed "s/s$//")
cd wisdom
if [ \( "$topic1" = "ngevd" \) -a \( -e ngevd \) ];
    then cat /dev/urandom;
    elif [ -e "$topic" ];
    then cat "$topic" | rnooodl;
    elif [ -e "$topic1" ];
    then cat "$topic1" | rnooodl;
    else echo "$1? ¯\(°_o)/¯"; exit 1;
fi