shithub: riscv

ref: 05d0456a3037effc4894b56acf49b4a31e3bfe8f
dir: /rc/bin/stop/

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