ref: 543e6478226a896bfff8e749c53dc41cfc42ed4d dir: /rc/bin/slay/
#!/bin/rc rfork e for(i){ ps | sed -n '/^'$user' .* '$i'$/s%[^ ]* *%~>/proc/% s% *.* (.*)%/ctl} # \1% s%~%@{echo kill%p' }