[Mailman-Developers] Clean output with bin/withlist??

Scott Brown scott-brown@home.com
Wed, 1 Aug 2001 07:52:32 -0400


>
> To be pedantic :) "m" is a module global variable bound to an instance
> of the MailList class.  Or simpler: "m" is a mailing list object.
>

Gotcha...

>
> Put this in $prefix/bin/hostname.py:
>
> -------------------- snip snip --------------------
> def hostname(m):
>     print m.host_name
> -------------------- snip snip --------------------
>
> and run with
>
> % bin/withlist -q -r hostname mylist
> wooz.org
>
> The Perl goo is up to you!

Thanks... I knew it would be simple... I was just attacking it from a "one
liner" route....

> Of course...
>
>     SB> With 2.1 soon to be released (nudge nudge) maybe it's still
>     SB> within the timeframe for producing this wee little
>     SB> change... (otherwise I'll have to try to hack a quiet flag in
>     SB> there... maybe... if I'm lucky :)
>
> ...you're lucky I'm feeling insomniatic today.  -q is a good idea,
> easy to add, and checked into cvs two minutes from now. :)
>

Again my thanks....