Another simple question# Unix - 噫吁兮,危乎高哉k*r2005-05-27 07:051 楼[[! -s $LOGFILE ]] && touch $LOGFILEWhat does it mean? Thanks a lot.
D*e2005-05-27 07:052 楼如果LOGFILE不存在,摸摸它。【在 k******r 的大作中提到】: [[! -s $LOGFILE ]] && touch $LOGFILE: What does it mean? Thanks a lot.
k*r2005-05-27 07:054 楼Thanks for replying. Why'd we need double bracket instead of single bracketin[[! -s $LOGFILE ]]?【在 x******g 的大作中提到】: -s: File is not zero size
x*g2005-05-27 07:055 楼http://www.tldp.org/LDP/abs/html/testconstructs.html#DBLBRACKETS【在 k******r 的大作中提到】: Thanks for replying. Why'd we need double bracket instead of single bracket: in[[! -s $LOGFILE ]]?