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