view bin/makelist @ 10457:039ec59edc05

<shachaf> mkx bin/4//cmd="${1-quote}"; \\`^ 4 "$cmd"
author HackBot
date Mon, 20 Mar 2017 01:55:05 +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