Mercurial > repo
view bin/spam @ 8376:4f84c9bec080
<oerjan> ` sed -i \'s/$/ "$@"/\' bin/gs2c
author | HackBot |
---|---|
date | Mon, 06 Jun 2016 05:10:19 +0000 |
parents | f7eb1a2d57c1 |
children |
line wrap: on
line source
line="$(cat /hackenv/tmp/spline)"; len="$(wc -l /hackenv/tmp/spout | awk '{print $1}')"; echo -n "$line/$len:"; sed -n "${line}p" /hackenv/tmp/spout; echo "$((line+1))" > /hackenv/tmp/spline