![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Extract | Harikrishna | SUN Solaris | 3 | 06-20-2008 04:43 AM |
| extract using sed/awk - need help? Please!! | gzs553 | Shell Programming and Scripting | 5 | 10-08-2007 05:54 PM |
| How to extract the PID from 'ps -ef' | nsinha | Shell Programming and Scripting | 7 | 11-20-2006 07:47 AM |
| tar. I can't extract | volleyboy | UNIX for Dummies Questions & Answers | 1 | 02-17-2006 11:54 AM |
| extract from TAR | big123456 | UNIX for Advanced & Expert Users | 8 | 07-28-2005 04:00 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
SED extract XML value
I have the following string:
<min-pool-size>2</min-pool-size> When I pipe the string into the following code I am expcting for it to return just the value "2", but its just reurning the whole string. Why?? Code:
sed -n '/<min-pool-size>/,/<\/min-pool-size>/p' |
| Bookmarks |
| Tags |
| faq, xml parsing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|