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