Anthony R. Thompson wrote: > >* Then do the following, either manually or probably more likely on a >regular basis via cron: > >rm -f /path/to/index.inc; ls -1 /var/lib/mailman/archives/private | >egrep -v mbox | perl -ne 'chomp; s#/$##; print qq^<li><a >href="/mailman/listinfo/$_">$_</a></li>\n^;' >> /path/to/index.inc > >(with that ls -1 command being all on one line)
or maybe rm -f /path/to/index.inc; /path/to/mailman/bin/list_lists --bare | perl -ne 'chomp; print qq^<li><a href="/mailman/listinfo/$_">$_</a></li>\n^;' >> /path/to/index.inc i.e. with list_lists --bare, there's no need to worry about things in the directory that aren't list names or to strip trailing slashes from the directory names that are list names . -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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