view bin/makelist @ 12270:a92152b1f5ec draft

<int-e> learn GOTO is just one step removed from going to hell.
author HackEso <hackeso@esolangs.org>
date Fri, 27 Dec 2019 08:01:39 +0000
parents 5e74c372b097
children
line wrap: on
line source

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