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