![]() |
|
|
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 |
| Parsing of file for Report Generation (String parsing and splitting) | umar.shaikh | Shell Programming and Scripting | 8 | 03-02-2009 01:38 AM |
| parsing a string | satish@123 | Shell Programming and Scripting | 7 | 05-20-2008 04:09 AM |
| parsing a string | satish@123 | Shell Programming and Scripting | 4 | 05-16-2008 08:20 AM |
| Need help on parsing string | magnacrazy | Shell Programming and Scripting | 13 | 03-31-2007 04:54 AM |
| String Parsing help | jasjot31 | UNIX for Dummies Questions & Answers | 5 | 09-27-2006 06:38 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Parsing String
Hello All,
I have a case, wherein I have a string of the format "attr1=value1 attr2=value2 attr3=value3 attr4=value4" How do I extract the value associated with for a given attributename. For eg. I need to get a value of "value2" when I give an input for attribute name as "attr2". Note, each attribute values is space seperated and value can contain / or , or - as part of it. Thanks Sunil Kumar |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|