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