git: 9front

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