shithub: purgatorio

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