日期:2014-05-16 浏览次数:20753 次
if [ "$oneline" = "sed '/FTP_INFO_P=1/w'" ] ;then echo $oneline fi
oneline="FTP_INFO_P=1" echo "$oneline" ------解决方案-------------------- grep -q "^FTP_INFO_P=1" if [ $? == 0 ] ;then echo $oneline else echo not match fi