The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Need to remove lines
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Need to remove lines
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
10-06-2008
kumar66
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
kumar66
View Public Profile
Find all posts by kumar66
Find kumar66's past nominations received
Find kumar66's present nominations given