shithub: riscv

ref: a13c5c3ddadb97c85fa606ac27e9d44f0c770d6f
dir: /rc/bin/stop/

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