How to print third column to last column?

前端 未结 19 1982
面向向阳花
面向向阳花 2020-11-28 18:44

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 unt

相关标签:
19条回答
  • 2020-11-28 19:17

    If its only about ignoring the first two fields and if you don't want a space when masking those fields (like some of the answers above do) :

    awk '{gsub($1" "$2" ",""); print;}' file
    
    0 讨论(0)
提交回复
热议问题