-----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
Wouldn't grep "^From "... (or egrep, depending on your toolkit) work better? 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. Best, - --Glenn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0BYSUACgkQf5MxTDXTimGT9gCfZgfiuD2C1OuFhg0jHUZmCqLR GEQAnR3IeQ6dexNpwCMQE2aHMcdAFKaQ =15HY -----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