view bin/makelist @ 12047:800ffb613072 draft

<oerjan> learn `@ <nick> <command> [<argument>] is a wrapper for running a HackEso command with a "nick:" prepended.
author HackEso <hackeso@esolangs.org>
date Sat, 16 Nov 2019 04:27:39 +0000
parents ed0a4712257a
children a7268c15a964
line wrap: on
line source

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