Mercurial > repo
view bin/spam @ 10076:efeac1b5074e
<oerjan> mkx bin/\xc3\xbcml\xc3\xa4\xc3\xbct//print_args_or_input "$@" | sed \'s/./&\xcc\x88/g\'
author | HackBot |
---|---|
date | Sun, 01 Jan 2017 16:56:32 +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