view bin/spam @ 8505:d31866e216a6

<shachaf> undo 8502
author HackBot
date Thu, 16 Jun 2016 17:42:52 +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