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