on Tue, Jul 16, 2002 at 01:58:18PM -0400, Charlie Summers wrote:
At 1:24 PM -0400 7/16/02, Lars Hecking is rumored to have typed:
The trailing .* is highly superfluous.
Yeah, but does it add anything to the overhead of the recipe? I have
occasionally added it as an in-line comment to myself (it's a particularly
useful reminder if a space is the last character in the condition string),
but I've never done any benchmarks to see if a recipe with it takes any
longer than one without it.
That is, even though we all recognize that it isn't necessary, if it
doesn't "cost" anything and aids the human, is it really such a bad thing?
I realize the original poster asked for a recipe to match
but a quick grep through my mailbox shows at least a few like this:
Content-Type: application/octet-stream; name="installation.bat"
Content-Type: APPLICATION/OCTET-STREAM; NAME="blah.pif"
Content-Type: APPLICATION/octet-stream; name="some.gif"
Content-Type: APPLICATION/octet-stream; name="eeny.jpg"
Content-Type: APPLICATION/octet-stream; name="miny.png"
which, frankly, ought to be caught as well. So, then, the trailing .*
seems appropriate and even useful, regardless of the overhead.
PS: first post. longtime procmail user, finally decided to get /good/ at
it instead of just limping along with an incomplete education.
hesketh.com/inc. v: (919) 834-2552 f: (919) 834-2554 w: http://hesketh.com
procmail mailing list