Mercurial > repo
view bin/makelist @ 11231:c3d85315f276
<fizzie> ` sed -e \'s|^ ||\' < \'wisdom/fun fact \' > \'wisdom/fun fact\'; rm \'wisdom/fun fact \'
author | HackBot |
---|---|
date | Wed, 01 Nov 2017 19:38:34 +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