in reply to Extract information from text file

Hi svijay,

Once you read perl introduction said by toolic read this node

Capturing the first and last line of a file ?

All is well