plan9fox/rc/bin/start

5 lines
115 B
Text
Raw Permalink Normal View History

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