#!/usr/bin/ksh # # Mailing List Tool # ------------------------ # # This is script was created to help with editing of mailing lists. # I wrote this primarly for Majordomo however i am sure this can # be used with other mailing list programs, sendmails native "include: " # in the aliases file , etc.. with minimal modifacations. Other programs # i am sure exsist but, it was easier to write my own than look around, # set-up, and configure something else. Basicly if you feel editing a # list with just doing "vi filename" and thats all you want, then this # script will probably be a waste of time for you. The Idea behind this # script was that if you have 100+ lists or so, and more than one user # that may "vi listname" at the same time. # # Overview: # - Need to have root privs or equiv (sudo) # - Options to mail or print a list summary # - File locking for files being edited ( prevents other users editing the same file ) # - Command line arguments or standard input # # Help Output: # # Usage: elist