Mercurial > repo
changeset 12060:a7268c15a964 draft
<fizzie> sled /hackenv/bin/makelist//s|bin/|$HACKENV/bin/|
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 21:45:28 +0000 |
parents | c0ca62b3c668 |
children | b86ce25c80f2 |
files | bin/makelist |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/makelist Sat Nov 16 21:44:38 2019 +0000 +++ b/bin/makelist Sat Nov 16 21:45:28 2019 +0000 @@ -1,1 +1,1 @@ -if [[ "$1" == *" "* ]]; then exec makelist $@; fi; name="$1"; file="bin/$name"; makelistlist "$name"; shift; cp 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 bin/emptylist "$file"; for n in "$@"; do echo "$n" >> "$file"; done