Mercurial > repo
changeset 9975:374081f5fb18
<oerjan> mkx bin/w//wisdom "$@"
author | HackBot |
---|---|
date | Thu, 15 Dec 2016 01:25:20 +0000 |
parents | 739a547c2541 |
children | dbe661460e11 |
files | bin/wisdom |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/wisdom Thu Dec 15 01:25:05 2016 +0000 +++ b/bin/wisdom Thu Dec 15 01:25:20 2016 +0000 @@ -1,1 +1,1 @@ -f=$(find wisdom -ipath "wisdom/*$1*" -type f -print0 | shuf --random-source=/dev/urandom -z -n1); if [ -n "$f" ]; then echo -n "${f#wisdom/}//"; cat "$f"; else echo "That's not wise."; fi | rnooodl +wisdom "$@"