From: "Satya" <[EMAIL PROTECTED]> > On Feb 18, 2001 at 13:45, Mike Cisar wrote: > >Is there a way to add or remove a single user from a list via the command > >line? I've looked at the add_members and remove_members but they seem to > >require a textfile list of user(s) to add or remove from a list. I'd just > >like to be able to add (or remove) one single user without an intermediary > >step of having to create a textfile containing their email address... like > >"add_member listname [EMAIL PROTECTED]" "remove_member listname > >[EMAIL PROTECTED]" > > From the add_members command line help: > > -n <file> > A file containing addresses of the members to be added, one > address per line. This list of people become non-digest > members. If <file> is `-', read addresses from stdin. > > So you want something like: > > echo "[EMAIL PROTECTED]"| add_members -n - listname "remove_members list [EMAIL PROTECTED]" works too, even though it isn't documented. alex ------------------------------------------------------ Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
