Mercurial > repo
view bin/spam @ 10015:89d3ca4aefae
<zgrep> le/rn the five wisdoms//The first wisdom is that there is only one wisdom.
author | HackBot |
---|---|
date | Sat, 24 Dec 2016 09:16:54 +0000 |
parents | ae96ffbb0fa8 |
children | 77aeabfe46fc |
line wrap: on
line source
line="${1-$(cat /hackenv/tmp/spline)}"; len="$(wc -l /hackenv/tmp/spout | awk '{print $1}')"; echo -n "$line/$len:"; sed -n "${line}{p;q}" /hackenv/tmp/spout; echo "$((line+1))" > /hackenv/tmp/spline