shithub: riscv

ref: 8bf1e5b77521d94876a58989a434ef1a08d6d509
dir: /rc/bin/stop/

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