-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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
Actually.. a google netted me this... awk 'empty{if (/^From /) print $2; empty=0} /^$/{empty=1}' $list.mbox | sort -u It's not perfect. For instance, if the mbox has From "Glenn Sieb" <g...@wingfoot.org> lines... but it does only match "<blank line>From " Anywho... something to tuck away for some future need.. :) Thanks for all you do, Mark! Best, - --Glenn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0BY8gACgkQf5MxTDXTimEvRwCgk5s8vpU2WOoSxHaFobPy3yky rfgAnRI2Q/lx4m+BBteGvL+q5VaCB+17 =tWDj -----END PGP SIGNATURE----- ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org