remove columns from ascii files

Discussion in 'Command Line' started by sophie, Oct 19, 2012.

  1. sophie

    sophie New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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
  2. sophie

    sophie New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    OK, I found a way to do it - problem solved.

    Cheers,
    sophie

Share This Page