testStr1="y='2019',m='06',d='21',h='12'" 分区字段
testArr=(`echo ${testStr1}|awk '{len=split($0,a,",");for(i=1;i<=len;i++) print a[i]}'`)
echo ${testArr[0]} 输出 y='2019'
echo ${testArr[1]} 输出 m='06'
echo ${testArr[2]} 输出 d='21'
echo ${testArr[3]} 输出 h='12'