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