摘要:
dos2unix * for i in `ls` do id=`echo ${i:0:2}` awk '{print tolower($0)}' "${i}"|grep -Eiw "from"|awk -F 'from' '{print $NF}'|grep -v "("|awk -F'.' '{print $NF}'|awk -v id=${id} '{print id... 阅读全文
posted @ 2018-09-19 17:39
chenzechao
阅读(314)
评论(0)
推荐(0)
摘要:
cat >b <<EOF line1 line2 line3 EOF # 方法1 while read line do echo ${line} done < <(cat b) # 方法2 cat b|while read line do echo ${line} done # 方法3 while read line do echo ${lin... 阅读全文
posted @ 2018-09-19 16:14
chenzechao
阅读(621)
评论(0)
推荐(0)

浙公网安备 33010602011771号