shell字符串和變量拼接 shell for循環(huán)讀文件,拼接字符串賦值給變量?
shell for循環(huán)讀文件,拼接字符串賦值給變量?選項=“$(cat選項/aaa.ini公司)“您只需讀取所有數(shù)據(jù)并將其放入optsshell處理字符串拼接?[根@localhost~]#a=123
shell for循環(huán)讀文件,拼接字符串賦值給變量?
選項=“$(cat選項/aaa.ini公司)“您只需讀取所有數(shù)據(jù)并將其放入opts
shell處理字符串拼接?
[根@localhost~]#a=123您在/var/spool/mail/root[根@localhost~]#b=456[根@localhost~]#回聲$a$b123456[根@localhost~]#c=$a$b[根@localhost~]#回音$123456