in reply to Re^2: Extracting Log File data for a given date range
in thread Extracting Log File data for a given date range
HTH!#!/usr/bin/perl -n BEGIN { print "Usage: $0 <start pattern> <end_pattern>\n" and exit unless +@ARGV == 2; $start = shift @ARGV; $end = shift @ARGV; } next if 1 .. /$start/; last if /$end/; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Extracting Log File data for a given date range
by Anonymous Monk on Aug 28, 2012 at 08:56 UTC | |
by Anonymous Monk on Aug 28, 2012 at 09:21 UTC |