[Mailman-Users] authors

Mark Sapiro mark at msapiro.net
Fri Dec 10 06:00:05 CET 2010


Glenn Sieb wrote:
>
>On 12/9/10 5:36 PM, Mark Sapiro wrote:
>>  grep "From " $var_prefix/archives/private/$list.mbox/$list.mbox | \
>>  awk '{print $2}' | sort -u
>
>Wouldn't
>
>grep "^From "...
>
>(or egrep, depending on your toolkit)
>
>work better?


Actually, "^From " is what I intended, but I mistyped it.


>Otherwise you grab any sentences that begin with "From " as
>well.. like "From what I've heard..."
>
>Of course you'll still get "<blank line>From ..." if people have
>something similar for quote attributions.


All such lines in message bodies should be escaped as ">From ..." in
the .mbox file so they aren't misinterpreted as message separators.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list