shithub: riscv

ref: b54c61c6174251736e0a6bf30fc1631eca79210c
dir: /rc/bin/stop/

View raw version
#!/bin/rc
~ $#* 0 || ps | sed -n '/^'$user' .* '$1'$/s%[^ ]*  *%~>/proc/%
s%  *.*%/ctl%
s%~%echo stop%p'