The UNIX and Linux Forums
>
Special Forums
>
UNIX Desktop for Dummies Questions & Answers
read XML xml element with REGEXP
.
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
:
read XML xml element with REGEXP
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
01-21-2009
fpmurphy
Moderator
Join Date: Dec 2003
Location: Florida
Posts: 1,930
Hre is one way of doing it
Code:
var=$(
sed
-n 's/\(<description>\)\([[:print:]]*\)<\/[^>]*>/\2/p' infile
fpmurphy
View Public Profile
Visit fpmurphy's homepage!
Find all posts by fpmurphy
Find fpmurphy's past nominations received
Find fpmurphy's present nominations given