Mercurial > repo
view bin/spam @ 9310:7f3b918cf56f
<oerjan> learn Logic is just another way the true Scotsman is keeping you down.
author | HackBot |
---|---|
date | Mon, 17 Oct 2016 01:19:01 +0000 |
parents | c989a1669243 |
children | 3b5bf2a2802e |
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