shithub: riscv

ref: ddf977d25c26d1cc3e83a08d9a3f19907dff35cc
dir: /rc/bin/start/

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