ref: 6222762ecac0178de73e992dd6866968f911b067 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' }