Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need to grab everyline between the "group:" line and the"data:" line excluding all the new lines.group: device_info In ; 10 ; 0x0 ; 0x100cd ; .1 Out ; 10 ; 0x0 ; 0x100d3 ; .1 In ; 20 ; 0x0 ; 0x500c4 ; .1 Out ; 20 ; 0x0 ; 0x500d4 ; .1 data: None IP: 1.2.3.4
Any suggestions?In ; 10 ; 0x0 ; 0x100cd ; .1 Out ; 10 ; 0x0 ; 0x100d3 ; .1 In ; 20 ; 0x0 ; 0x500c4 ; .1 Out ; 20 ; 0x0 ; 0x500d4 ; .1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File Parsing
by pfaut (Priest) on Dec 07, 2002 at 00:48 UTC | |
|
Re: File Parsing
by cjf-II (Monk) on Dec 07, 2002 at 00:47 UTC | |
|
Re: File Parsing
by runrig (Abbot) on Dec 07, 2002 at 01:00 UTC | |
by pfaut (Priest) on Dec 07, 2002 at 01:04 UTC | |
by Anonymous Monk on Dec 07, 2002 at 01:06 UTC | |
|
Re: File Parsing
by slife (Scribe) on Dec 07, 2002 at 22:25 UTC |