[mew-int 00407] Re: Simple improvement for body greps

David A. Panariti davep at example.com
Mon Aug 6 21:53:24 JST 2001


I think is is an "original" option.
I remember using it in ... SCO Xenix.
Xenix branched off from the AT&T sources ages ago (from V7, I think).
I'll check my Kernighan&Pike book, but -l is one of those options I've
used forever and never found missing.

regards,

davep

>>>>> "Kazu" == Kazu Yamamoto (山本和彦) <kazu at example.com> writes:

Kazu> From: "David A. Panariti" <davep at example.com> Subject: [mew-int
Kazu> 00404] Simple improvement for body greps

>> Setting mew-prog-grep-opts to '("-l" "-e") can help speed things
>> up, especially for large message bodies that may be very large mime
>> files.  The -l says just print the file name and exit after the
>> *first* match.  Since we don't need the match text and don't need
>> additional match info, using it can only help.  Of course, most of
>> the time the difference will be insignifican, but we still might as
>> well save the cycles.

Kazu> Great.

Kazu> I found the "-l" option in the GNU grep program. Is this common
Kazu> among other "grep"?

Kazu> --Kazu

--
Oh, I am a C programmer and I'm okay
	I muck with indices and structs all day
And when it works, I shout hoo-ray
	Oh, I am a C programmer and I'm okay



More information about the Mew-int mailing list