view bin/spam @ 10077:50d7eb7d6269

<zgrep> mkx bin/`\xcc\x80//echo "This should probably do something, but it does not."
author HackBot
date Sun, 01 Jan 2017 17:01:39 +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