[ale] extract lines from a log between a specified start and stop time?
Fletch
fletch at phydeaux.org
Wed Feb 25 16:02:27 EST 2004
>>>>> "Robert" == Robert H Gibson <Gibson> writes:
Robert> Has anyone seen or written a script that will extract the
Robert> lines from a log between a specified start and stop
Robert> time/string?
perl -lne 'print if /start/../end/' foo
Replace `start' and `end' to taste (minding any regex
metacharacters, of course).
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U
More information about the Ale
mailing list