780745,0,3,0,sto_un_os_fast,daily,lonrb08390,lonrs08841,1355250030,0000015139,1355265169
783333,0,1,,sto_un_os_fast,daily,lonrb08390,lonrs08842,1355336488,0000032370,0000000000
778143,0,3,0,sto_un_os_fast,daily,lonrb08390,lonrs08841,1355163652,0000003967,1355167619
784864,0,3,0,sto_un_os_fast,daily,lonrb07366,lonrs08842,1355351424,0000001475,1355352899
在上面的文件中,我想打印lonrb...
&之后的第3列。Awk脚本查询
有人可以帮助我吗?
我面对awk '{print $6, $9}'
的问题是,列更改为783333,0,1,,
行。
你说783333系列需要不同的处理;你能不能展示你所期望的输出,并解释为什么'awk -F'{print $ 7,$ 10}''不能做你想要的东西? –
-1即使阅读了迄今发布的答案,并且您感谢@JonathanLeffler的回复,我无法弄清楚您想要什么。 –