At 23:50 -0500 12/08/2011, Christopher Stone wrote:

Ronald will no doubt come up with something brilliant, and JD will likely come up with a nice Perl filter.

:)

You bet!

#! /usr/bin/perl
while (<>) {
  $found++ if /^time/i;
  print if $found == 2;
}



That's presuming you have something like

time : 01:15
other
other
time : 2:15
other
other
time : 03:15
other
other

and you want

time : 02:15
other
other

--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to