view bin/makelist @ 12405:d014559a5542 draft

<oerjan> karma+ Hooloovoo
author HackEso <hackeso@esolangs.org>
date Fri, 18 Jun 2021 00:32:10 +0100
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