如何用shell读取文件中的第二行开始的每一列的数据

如题所述

cat a.txt | awk 'NR>1' | while read name number
do
    echo $name
    echo $number
done

温馨提示:答案为网友推荐,仅供参考
相似回答