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