how to remove the first two columns in a file using shell (awk, sed, whatever)

前端 未结 10 2535
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-04 12:58

I have a file with many lines in each line there are many columns(fields) separated by blank \" \" the numbers of columns in each line are different I want to remove the fir

10条回答
  •  眼角桃花
    2020-12-04 13:19

    Thanks for posting the question. I'd also like to add the script that helped me.

    awk '{ $1=""; print $0 }' file
    

提交回复
热议问题