Mercurial > repo
view bin/spam @ 10060:530b444efb33
<shachaf> mkx bin/dedot//print_args_or_input "$2\' | sed \'s.\xcc\x88..\'
author | HackBot |
---|---|
date | Sat, 31 Dec 2016 19:16:01 +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