shithub: riscv

ref: 4b7e72689dd10c604ad5c25f0d52ffc38ee8efa6
dir: /rc/bin/stop/

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