shell 獲取文件後綴

在某個makefile文件中經過include引入某個文件進來ios Include $(shell ./getname)正則表達式 而getname中的內容即爲: shell pwd=$(pwd);ide if [ "${pwd#*/zloader.}" = "$pwd" ];thenthis echo Makefile.cpcispa elseci echo Makefile.${pwd#*/
相關文章
相關標籤/搜索