code: plan9front

ref: 26008742c54f33761058ded48ae7b4b8cbf9e0cd
dir: /rc/bin/start/

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