Mercurial > repo
view bin/? @ 7452:37d11d7eb9bd
<b_jonas> learn Macedonia is a country of which the United Nations denies the existance, just like Taiwan is.
author | HackBot |
---|---|
date | Sun, 17 Apr 2016 22:29:07 +0000 |
parents | f72b8824feb4 |
children |
line wrap: on
line source
#!/bin/bash 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