view bin/? @ 3401:492dcdc07d89

<Jafet> (head -n 14 bin/gccrun; echo \'#include <math.h>\'; tail -n +14 bin/gccrun) > /tmp/gccrun && mv /tmp/gccrun bin/gccrun
author HackBot
date Fri, 09 Aug 2013 14:28:08 +0000
parents a20360ccb4cd
children bc37b2b9cc23
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