changeset 12104:1730bda7af32 draft

<fizzie> sled /hackenv/bin/acronym//s|share/|$HACKENV/share/|
author HackEso <hackeso@esolangs.org>
date Sat, 16 Nov 2019 22:32:30 +0000
parents d0f098a0c5cb
children e6cb65ac18f6
files bin/acronym
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/acronym	Sat Nov 16 22:32:08 2019 +0000
+++ b/bin/acronym	Sat Nov 16 22:32:30 2019 +0000
@@ -1,1 +1,1 @@
-w="${1:-tla}"; (for (( i=0;i<${#w};i++ )); do grep -i "^${w:$i:1}[a-z]*\$" share/dict-words | shuf -n 1; done) | xargs
+w="${1:-tla}"; (for (( i=0;i<${#w};i++ )); do grep -i "^${w:$i:1}[a-z]*\$" $HACKENV/share/dict-words | shuf -n 1; done) | xargs