view bin/? @ 5612:794f3859f02c

<tswett> learn sex is a board game which originated in Britain in the 1870s before spreading throughout Europe in the 1890s. Sex was introduced to the rest of the world by a book, "The Complete Guide to Sex", written and published by Taneb in 1932, based on Taneb\'s extensive experience with a wide variety of forms of European sex.
author HackBot
date Thu, 18 Jun 2015 01:06:51 +0000
parents 7f957c1f4661
children
line wrap: on
line source

#!/bin/sh
topic=$(echo "$1" | lowercase | sed "s/noo\+dl/nooodl/;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