這是什麼意思?在shell腳本表達式中,「plus colon」(「+:」)是什麼意思?
if ${ac_cv_lib_lept_pixCreate+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
貌似ac_cv_lib_lept_pixCreate
是一些變量,那麼,是什麼+:
是什麼意思?
在哪裏可以學習大括號表達式的完整語法?這個語法的名字是什麼?
這是一個冒號,而不是逗號。 – Marcin
:是一個所謂的POSIX特別內置 –
閱讀這裏爲:http://stackoverflow.com/questions/3224878/what-is-the-purpose-of-the-colon-gnu-bash-builtin AND http ://wiki.bash-hackers.org/syntax/pe – SriniV