13

Inverse of Cut

view full story
linux-howto

http://www.unix.com – Hi List, I have a CSV file which I am manipulating. Each time I receive the CSV for processing, there will be extra columns of data. Here's what I want to do; I want to be able to remove specific columns from the CSV data file, but keep the remaining columns, where the remaining columns are variable in how many columns there are. (there will be more columns each time the script is run on new data) Lets say I want to remove columns 2,3,4,5,10 and keep the rest Normally, in a fixed length CSV, which has the same amount of columns every time it is processed, say 20 columns each time, (HowTos)