Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Posts
    37

    Unanswered: Reading a line using shell

    I am trying to read a huge file with some 1.1 million rows in it. I want to create another file reading rows from 624544 to 785555. I tried using the wc -l command but it doesn't work .

    Pleas help!

    Thanks

  2. #2
    Join Date
    Apr 2004
    Location
    Boston, MA
    Posts
    325
    sed -n '624544,785555p' largeFile
    vlad
    +-----------------------+
    | #include <disclaimer.h> |
    +-----------------------+

  3. #3
    Join Date
    Feb 2004
    Posts
    37
    Thanks a lot, It works like a charm!!
    Appreciate!

Posting Permissions

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