code: plan9front

ref: 76fb145d7508115b755197681c6cb509adc6e4ed
dir: /rc/bin/start/

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