Mercurial > repo
view bin/spam @ 9289:1bb4d7528163
<oerjan> addquote <fungot> boily: i walked 5 miles to get to
author | HackBot |
---|---|
date | Sat, 15 Oct 2016 16:06:52 +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