ref: 54ed5417a94502de99fb34ed2f803ee00079703e 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' }