ref: 3ab76015d7a8113dbf80658e7f6c90e793fd9dd9 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' }