makefile中使用echo -e引起的思考(涉及dash和bash)

背景 有次我在寫makfile時,用echo -e要顯示帶顏色的文字,命令以下:shell echo -e "Full Version is:\033[31m\033[1m v1.0 \033[0m";bash 該命令在控制檯中單獨執行都顯示正常,效果以下:spa Full Version is: v1.0ci 能夠放在makefile中一運行, 結果把-e也顯示出來:it -e Full Ver
相關文章
相關標籤/搜索