sed -n '/\bstart)/a \\t#check that portmap or rpcbind is up \n\t/etc/init.d/portmap status \n\t[ $? -ne 0 ] && /etc/init.d/portmap start' /etc/init.d/nfs


sed 用  \b 标示边界

grep -w