Mercurial > repo
view bin/makelist @ 10455:0880011893fc
<shachaf> mkx bin/5//cmd="${1-quote}"; \\`^ 5 "$cmd"
author | HackBot |
---|---|
date | Mon, 20 Mar 2017 01:54:47 +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