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