[PATCH] Add simple grep support (using strstr - no regex) to showlog.cgi

Matthew King mking at closepf.com
Wed Jan 21 15:55:31 CET 2009


Hendrik Baecker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Matthew King schrieb:
>> Sorry about the blurb below.
> No?

I can't get rid of it. It is added by a border MTA and I have no control 
over the network.

> Might it possible to give us more details on your patch instead of
> that blurb?

It adds the ability to limit what is displayed from the logfile.

This is what grep does.

> What kind of problem should it solve?

A large log file can be hard to read making it easy to miss what you're 
looking for.

Oddly, this is exactly the problem that grep solves...

> Why should it be necessary to go upstream?
> Why would I have another url parameter?

That is up to you. I needed to do this this morning so I wrote the code 
to do it. You can take it or leave it.

I apologise for my message being terse but as I started writing it I was 
called away to work on something else and I figured people would know 
what was implied by 'grep support'.

Matthew

Again, sorry about the blurb below.

This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Close Premium Finance shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Close Premium Finance does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference.

Close Premium Finance, Registered in England and Wales, Registered Office: 10 Crown Place, London, EC2A 4FT. Authorised and regulated by the Financial Services Authority
Close Brothers Limited and Close Premium Finance (Ireland) Ltd trading as Close Premium Finance Ireland are authorised and regulated by the Financial Services Authority in the UK, Registered Office: 10 Crown Place, London, EC2A 4FT.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword




More information about the Developers mailing list