![]() |
|
|
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 delete lines in a file that have duplicates or derive the lines that aper once | necroman08 | Shell Programming and Scripting | 3 | 07-17-2009 06:07 AM |
| Parse and count lines | shekharaj | Shell Programming and Scripting | 7 | 12-30-2008 02:04 PM |
| parse of lines with different delimiters | nathasha | Shell Programming and Scripting | 9 | 05-16-2008 09:22 PM |
| How to parse a string efficiently | sandiego_coder | Shell Programming and Scripting | 4 | 05-13-2008 01:12 PM |
| parse files and delete | pimentelgg | Shell Programming and Scripting | 0 | 12-12-2007 06:06 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Parse and delete lines efficiently
Hi
I have a set of options in the form of key value in a file. Need to find a particular value of 'a' and delete all lines till the next 'a' keyword . Ex : a bbb c ddd e fff g hhh a sss c ggg e xxx f sss a ddd d sss r sss g hhh and so forth Here 'a' keyword is present in each stanza. I need to parse to find a particular value of 'a' (let's say 'sss') and from there, delete all lines till the next 'a' keyword. Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|