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