git: 9front

ref: 013e8f3d22c25d86dbad9faaf3a47e7ea206b1c1
dir: /rc/bin/slay/

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