view bin/makelist @ 11258:edaf8efd6e21

<oerjan> learn This is something people on the channel like to talk about. We\'re often unsure what this is, though.
author HackBot
date Sat, 09 Dec 2017 11:45:07 +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