shithub: riscv

ref: eeb0f9a9dad1c09ba2c0985b1af2c99b1bebe4c1
dir: /rc/bin/stop/

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