位置: linux中awk用法详解 - 标签
Linux里awk中split函数的用法小结(linux中awk用法详解)
简述:Theawkfunctionsplit(s,a,sep)splitsastringsintoanawkarrayausingthedelimitersep.settime=::sethr=`echo$time|awk'{split($0,a,":");printa[1]}'`#=setsec=`echo$time|awk'{split($0,a,":");printa[3]}'`#=#=sethms
友情链接: 武汉网站建设