plan9fox/rc/bin/start
2011-03-30 17:14:36 +03:00

5 lines
120 B
Bash
Executable file

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