code: 9ferno

ref: e81c54ba2ecc673a4d5f8aed0e9b52841fe07b0d
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'