Mercurial > repo
diff bin/makelist @ 12062:5e74c372b097 draft
<fizzie> sled /hackenv/bin/makelist//s|$HACKENV/$HACKENV/|$HACKENV/|
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 21:46:09 +0000 |
parents | b86ce25c80f2 |
children |
line wrap: on
line diff
--- a/bin/makelist Sat Nov 16 21:45:35 2019 +0000 +++ b/bin/makelist Sat Nov 16 21:46:09 2019 +0000 @@ -1,1 +1,1 @@ -if [[ "$1" == *" "* ]]; then exec makelist $@; fi; name="$1"; file="$HACKENV/$HACKENV/bin/$name"; makelistlist "$name"; shift; cp $HACKENV/bin/emptylist "$file"; for n in "$@"; do echo "$n" >> "$file"; done +if [[ "$1" == *" "* ]]; then exec makelist $@; fi; name="$1"; file="$HACKENV/bin/$name"; makelistlist "$name"; shift; cp $HACKENV/bin/emptylist "$file"; for n in "$@"; do echo "$n" >> "$file"; done