#!/bin/csh -f # maillist # ------------------------------------------------------------------------- # Shell script to generate mailing lists from Thunderbird address book. # ------------------------------------------------------------------------- # Usage: See Usage section below or run with no arguments to see usage. # Assumptions: # Effects: # - Reads from an LDIF file and writes mailing lists to a folder. # Notes: # Implementation Notes: # Portability Issues: # Revision History: # $Log$ # ------------------------------------------------------------------------- if ($#argv == 0 || $1 == "-h" || $1 == "--help") then # We need this Usage section (which duplicates the one on the Java file) # only because that one echos a usage line like: # Usage: java -classpath mailist.jar;bristle.jar # com.bristle.javaapps.maillist.MailList # address_book_file output_directory # instead of the simpler usage line here. echo "Usage: $0:t address_book_file output_directory" exit 1 endif java -classpath /Users/fred/fred/lib/maillist.jar:/Users/fred/fred/lib/bristle.jar com.bristle.javaapps.maillist.MailList $*:q