view bin/spam @ 8456:0de56f0fd57a

<shachaf> mkx bin/now//lastfiles "$@" | while read f; do echo -n "$f//"; cat "$f"; done
author HackBot
date Sun, 12 Jun 2016 07:11:42 +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