code: 9ferno

ref: 6bb619c8db2867ddd9cd19c0aec05065f5ee0cae
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'