![]() |
|
|
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 |
| cat/delete per line any word "192.168.1.12" | carnegiex | Shell Programming and Scripting | 1 | 08-18-2008 02:27 AM |
| Building a Portfolio of Services - Part 1 of "Mastering SOA" | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 06:10 AM |
| grep for "exact word" | bullz26 | Shell Programming and Scripting | 7 | 03-14-2008 05:00 AM |
| Can "sed" substitute word on a specific line? | minifish | Shell Programming and Scripting | 2 | 02-14-2008 05:25 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Extract Part of a "Word", using AWK or SED????
I have been lurking on this forum for some time now and appreciate Everyone's help. I need to find a way to get the SystemID from this XML file. The file is much larger than just this one line but I can grep and get this line Printed. But really just need the "systemid".
<test123: prefintem ="systemid">/school.01234.domain.com</test321: prefitem> What I need is to just school.01234.domain.com from the entire line. Since there is just one spaces I haven't had success with AWK or SED. Thank you guys for all you previous and future help. Last edited by elbombillo; 10-24-2008 at 05:35 PM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|