Mercurial > repo
view bin/? @ 9959:a4d641009dc5
<hppavilion[1]> learn Svalbard is the place where Norway keeps the seeds for its pseudo-RNGs so that they can recover their language if it is ever lost.
author | HackBot |
---|---|
date | Tue, 13 Dec 2016 00:45:03 +0000 |
parents | 426a317d6dfe |
children | 5aa89f714ea0 |
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