in reply to parsing cleardiff output :(
This seems to do the job:
while ( <> ) { s{ -\|-.*? # After the -|- thingy ( \d+(?:-\d+)? # A number, maybe two ) } { print $1 . "\n" }egx ; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: parsing cleardiff output :(
by Sara (Acolyte) on Jul 17, 2002 at 16:18 UTC |