ref: 4a8358bb5709b62a31ca88ba70820b1c22928e6f 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' }