shithub: riscv

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