plan9fox/rc/bin/start

6 lines
120 B
Plaintext
Raw Normal View History

#!/bin/rc
U=`{cat /dev/user}
ps | sed -n '/^'$U' .*Stopped.* '$1'$/s%[^ ]* *%~>/proc/%
s% *.*%/ctl%
s%~%echo start%p'