天天看点

【shell】按行读取配置获取参数执行命令|shell读取配置文件

conf.txt

readconf.sh

把echo换成自己的脚本/程序

方法二:

shell脚本将文件按行读入二维数组