[Novalug] question about grep in perl
Bonnie Dalzell
bdalzell@qis.net
Tue Mar 28 18:35:32 EDT 2017
On Tue, 28 Mar 2017, John Holland via Novalug wrote:
> Well, the problem given was to process the whole file. There’s no getting around reading the entire file once.
>
> I think the questions to be asked are,
> how many comparisons are being done?
> How much memory is used?
> how concise is the code?
> Can it be plugged into something as it is? (does it fit Bonnie’s codebase, or is it generic enough to fit just about any codebase?)
> Does it use grep? This was the original question, whether grep would be useful.
yes that "does it use grep?" was the original question and i appreciate
your answer since it shows me how grep can be used - which i was not able
to figure out from online docs
please - no flame wars
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bonnie Dalzell, MA
mail:PO box 9767 Baldwin, MD, USA 21013 | EMAIL:bdalzell@qis.net
shipping address:5100 Hydes Rd 21082 (Hydes Post Office closed Jan 2012)
Freelance anatomist, vertebrate paleontologist, writer, illustrator, dog
breeder, computer nerd & iconoclast... Borzoi info at www.borzois.com.
HOME www.batw.net ART bdalzellart.batw.net BUSINESS www.boardingatwedge.com
More information about the Novalug
mailing list