Mercurial > repo
changeset 5777:2f0de4a6fe7a
<oerjan> ` sed -i \'s!wisdom!wisdom/"$1"!\' bin/wisdom
author | HackBot |
---|---|
date | Thu, 02 Jul 2015 15:06:48 +0000 |
parents | 6c5c25183dbc |
children | 03cae10bca27 |
files | bin/wisdom |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/wisdom Thu Jul 02 15:00:12 2015 +0000 +++ b/bin/wisdom Thu Jul 02 15:06:48 2015 +0000 @@ -1,1 +1,1 @@ -F="$(find wisdom -type f | shuf -n1)"; echo -n "${F#wisdom/}/" | rnooodl; cat "$F" | rnooodl +F="$(find wisdom/"$1" -type f | shuf -n1)"; echo -n "${F#wisdom/}/" | rnooodl; cat "$F" | rnooodl