view bin/makelist @ 11956:1f965298f0fe draft

<wib_jonas> ` set -e; cd share/mtg; tr -d \\\\\\\\r <MagicCompRules_20191004.txt > rules.txt
author HackEso <hackeso@esolangs.org>
date Tue, 01 Oct 2019 08:31:53 +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