如何将第三列打印到最后一列? [英] How to print third column to last column?
本文介绍了如何将第三列打印到最后一列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从DbgView日志文件中删除前两列(我不感兴趣的列).我似乎找不到从第3列开始直到行尾打印的示例.请注意,每行都有可变的列数.
I'm trying to remove the first two columns (of which I'm not interested in) from a DbgView log file. I can't seem to find an example that prints from column 3 onwards until the end of the line. Note that each line has variable number of columns.
推荐答案
...或更简单的解决方案:cut -f 3- INPUTFILE
只需添加正确的定界符(-d),您将获得相同的效果.
...or a simpler solution: cut -f 3- INPUTFILE
just add the correct delimiter (-d) and you got the same effect.
这篇关于如何将第三列打印到最后一列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文