The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Read elements of a xml file??????
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Read elements of a xml file??????
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
01-23-2008
ennstate
Registered User
Join Date: Mar 2007
Location: Chennai
Posts: 222
Does this works?
Code:
sed
-n '/Family2/{n;n;s/<name=\(.*\)\/>/\1/p}' /tmp/Input
Thanks
Nagarajan G
ennstate
View Public Profile
Find all posts by ennstate