view bin/makelist @ 12325:2b962c94f6e7 draft

<b_jonas> learn ayacc is ais523\'s yacc parser generator implementation, get it from http://nethack4.org/pastebin/ayacc-2020-04.tar.gz or from darcs clone http://nethack4.org/projects/ayacc
author HackEso <hackeso@esolangs.org>
date Wed, 08 Apr 2020 20:24:48 +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