Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strip header and footer from text file?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I need to strip the header and footer (first record and last record) from an input text file. Can anyone suggest a nice way to do this with minimal code?

Thanks!
 
ub172:

This was answered last week. Take a look at:

thread58-312712

It uses sed.

Regards,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top