view bin/spam @ 9991:44009b1f1050

<hppavilion[0]> ` mv bin/grwfi bin/gwni
author HackBot
date Fri, 16 Dec 2016 19:51:12 +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