view bin/bookofeso @ 8072:90dbd630fd23

<b_jonas> `` perl -pi -e \'s/ (\\$c\\[rand\\(\\@c\\)])/($1 || "No card found.")/\' bin/random-card
author HackBot
date Mon, 16 May 2016 11:14:18 +0000
parents fffedced672a
children
line wrap: on
line source

F="$(find esobible -name "*$(echo "$1" | lowercase)*" -type f | shuf -n1)"; echo -n "${F#esobible/}/" | rnooodl; cat "$F" | rnooodl