remove columns from ascii files

S

sophie

Guest
Hi guys

I need your Linux wisdom to solve a problem I've been struggling with for a while - any help would be greatly appreciated (also by my office colleagues who have to listen to my swearing outbreaks :))

I have a lot of ASCII files where the first two lines are used for information such as title, date, etc.
Below this, there is a table consisting of 8 columns (separated by tabs).

And this is what I'd like to do: Remove the last 4 columns of the file (but keep title, date, etc., i.e., don't change anything about the format except for the deletion of those 4 columns).

btw: I'm using zsh

Thanks a lot
sophie
 


OK, I found a way to do it - problem solved.

Cheers,
sophie
 

Members online


Top