ref: 41b34c448dda31c5d568f11d7afd70a7217ba152 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' }