shithub: riscv

ref: 033c2812c29b0e81e6c055b80e0334ba5ed1f871
dir: /rc/bin/broke/

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