code: 9ferno

ref: 600bbfe4aaa9ad0f73d8d73eef1b7670e5f7d3a3
dir: /dis/broke/

View raw version
#!/dis/sh.dis
load std
if {~ $#* 1} {U=$1} {U=`{cat /dev/user}}
ps | sed -n -e '/^[ 	]*[0-9]+[ 	]+[0-9]+[ 	]+'$U'.*broken/s%^[ 	]*([0-9]+)[ 	]+.*([^ 	]+)$%echo kill>/prog/\1/ctl # &%p'