📜  linux 命令只打印奇数列 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:51:05.537000             🧑  作者: Mango
代码示例1
awk '{for(x=1;x<=NF;x++)if(x % 2)printf "%s", $x (x == NF || x == (NF-1)?"\n":" ")}' ahj.txt