Skip to main content
edited tags
Link
terdon
  • 252.3k
  • 69
  • 480
  • 718
Source Link

Cut every 100th column from csv

I have a data file of numbers seperated by tabs, like this

1 2 3 4
2 4 6 8

My real file is 50000 columns wide and I only need every 100th column (column 100, 200, 300, 400, ...). Now I would like to remove all the other columns.

How can I do that?