1. {print}
coins.txt
gold 1 1986 USA American Eagle gold 1 1968 Austria Franz Josef 100 Korona silver 10 1964 USA ingot gold 1 1956 Switzeland ingot
awk ‘{print}‘ coin.txt
2. {print $x}: 打印第x列
awk ‘{print $1}‘ coin.txt
用制表键对齐
原文地址:https://www.cnblogs.com/douzujun/p/10367486.html
时间: 2024-10-10 14:01:17