view bin/? @ 3630:738fd1a0b660

<oerjan> addquote <elliott> my contract states right here that I have to tell you the best version of python is called haskell 2010
author HackBot
date Wed, 04 Sep 2013 01:24:47 +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