The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 10-06-2008
kumar66 kumar66 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 9
Hi Danmero,

I used this "sed '/^[0-9]/p;d' salesxml.xml > sales.txt" and it works fine for me . It removes the header and the tralier.
Is this correct or I need to change anything.

Please Advise.

Thanks & Regards,
Kumar66