![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to delete content in a file (delete content only) | kittusri9 | Shell Programming and Scripting | 5 | 05-15-2008 02:12 PM |
| Parse | mirusnet | Shell Programming and Scripting | 1 | 01-23-2008 06:49 PM |
| Content of Content of a variable! | jaduks | Shell Programming and Scripting | 2 | 08-27-2007 01:40 AM |
| How to parse.. | natter | Shell Programming and Scripting | 8 | 05-22-2003 10:11 AM |
| Parse | nguda | Shell Programming and Scripting | 7 | 05-16-2002 10:10 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to parse the content
How the below ex.txt file can be parsed using starting bracket'(' and ending bracket')' and hav to store the values without quotes in a text file.
There will be some 10 or 20 lines inbetween starting brakcet and ending bracket at first there may be 5 words,2ndl ine only 1 word, third line 6 words and 4th line 2 words. so words ineach line will differ...so by keeping brackets as start'(' and end ')' i want to store all the words in some 2 or 3 lines with comma separated ex.txt ----------------------------------- ('name','time'... 'value1',vlaue2',value3'... 'value10','value11',value12') ----------------------------------- can any one say the command to achive the above using awk? or any |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|