view bin/spam @ 9784:222ebb0185b5

<oerjan> learn @learn @messages-loud @messages-fond @messages-flood @messages-bond / @messages-lousy @messages-sound @messages-lost @messages-found / @messages-proud @messages-bold @messages-good @messages-gold
author HackBot
date Mon, 28 Nov 2016 18:00:46 +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