The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How To get the data from a tag in XML File
.
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
:
How To get the data from a tag in XML File
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
9
(
permalink
)
12-04-2008
naughty21
Registered User
Join Date: Jun 2008
Posts: 16
Quote:
Originally Posted by
dennis.jacob
Try this quick approch:
Code:
sed
's/>/\n>/g' filename |
sed
's/>\([A-Za-z0-9]*@[A-Za-z0-9]*\.[A-Za-z0-9]*\)<.*/\1/' |
sed
'/@/!d'
Is this works for ksh ? ... Im not getting any output
naughty21
View Public Profile
Find all posts by naughty21
Find naughty21's past nominations received
Find naughty21's present nominations given