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 ; }

_______________
D a m n D i r t y A p e
Home Node | Email

Replies are listed 'Best First'.
Re: Re: parsing cleardiff output :(
by Sara (Acolyte) on Jul 17, 2002 at 16:18 UTC
    THANKS!!!!!!!!!!