ref: abdb62608209861e52798c1225d8779c5cd96196 dir: /rc/bin/broke/
#!/bin/rc rfork e if(~ $#* 1){ user=$1 } ps | sed -n '/^'$user' .* Broken/s%[^ ]* *%~>/proc/% s% *.* (.*)%/ctl # \1% s%~%echo kill%p'