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