Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How do I match the word title and invalid and then print only the lines that contain these words and not the lines that don't. I don't want the lines that contain valid. As the report is now, I have to scroll through 500 some pages and look at each entry to determine which record has in invalid url.Filename: url Title: Mary moo-cow 856 invalid url Title: the mechanics 856 valid url
2005-01-12 Janitored by Arunbear - added code tags, to preserve formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: match word on line - match word on another line - print lines
by holli (Abbot) on Jan 12, 2005 at 11:17 UTC | |
|
Re: match word on line - match word on another line - print lines
by perlsen (Chaplain) on Jan 12, 2005 at 11:27 UTC | |
|
Re: match word on line - match word on another line - print lines
by gube (Parson) on Jan 12, 2005 at 11:41 UTC | |
|
Re: match word on line - match word on another line - print lines
by Random_Walk (Prior) on Jan 12, 2005 at 13:56 UTC | |
|
Re: match word on line - match word on another line - print lines
by perlsen (Chaplain) on Jan 12, 2005 at 11:50 UTC |