view bin/spam @ 12216:68d16aa2f434 draft

<b_jonas> `` set -e; f=/hackenv/bin/bfbotquine; d=/hackenv/bin/STOP; >$d echo $\'#!/bin/sh\\nrm -fv \'"$f"; >$f echo $\'#!/bin/sh\\nsleep 50; echo ":"="hackesoquine"; sleep 20\'; chmod -c a+x $d $f
author HackEso <hackeso@esolangs.org>
date Sat, 30 Nov 2019 22:30:23 +0000
parents 405c0e846fcc
children
line wrap: on
line source

line="${1-$(cat $HACKENV/tmp/spline)}"; len="$(awk 'END{print NR}' $HACKENV/tmp/spout)"; echo -n "$line/$len:"; sed -n "${line}{p;q}" $HACKENV/tmp/spout; echo "$((line<len?line+1:1))" > $HACKENV/tmp/spline