shithub: riscv

ref: 1a5cf98c99fa20d0dd0768cd9c61fab84c2a77f8
dir: /rc/bin/kill/

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