Mercurial > repo
view bin/makelist @ 11295:0b054ddeff49
<wob_jonas> perl -eopen$i,"<",($f="wisdom/aristotle");$_=<$i>; s/(fifth) kind of vitreous/$1/ or die; if (1) { open$o,">",$f; print$o $_ or die; } print substr$_,200;
author | HackBot |
---|---|
date | Mon, 01 Jan 2018 18:01:49 +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