天天看點

【shell】按行讀取配置擷取參數執行指令|shell讀取配置檔案

conf.txt

readconf.sh

把echo換成自己的腳本/程式

方法二:

shell腳本将檔案按行讀入二維數組