Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    6

    Unanswered: Query about cutting of files

    Hi,

    Just a simply query and the solution at the moment is really escaping this newbie:-)

    I have a simple csv file containing say 50 lines.

    Now the first 15 lines contains some header which I am not interested in.

    Is there any way via a shell script to cut the first 15 lines of the file so that I end up with the rest of it?

    Cheers,
    Freakie

  2. #2
    Join Date
    Jan 2004
    Location
    Bordeaux, France
    Posts
    320
    Code:
    tail +16 input_file > output_file
    Jean-Pierre.

  3. #3
    Join Date
    Dec 2003
    Posts
    6
    Originally posted by aigles
    Code:
    tail +16 input_file > output_file

    Duh!!!...Thanks mate!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •