Jon Nelson [EMAIL PROTECTED] wrote: > On Tue, 20 Apr 2004, Lloyd Zusman wrote: > > Just change "VERSION" to "COURIER_COPYRIGHT" in the patch. > > > % courier --version > > Courier 0.45.4.20040411 Copyright 1999-2004 Double Precision, Inc. > > THAT is PERFECT. > Now that patch needs to be applied to most anything that a user would > run. One of these days I'll look into adding a --help/-h/-? option as > well.
Well, the initial point of my request was how to determine the Courier version programmatically. I need this to automatically decide which features of Courier are available, i.e. which ones I can depend on. Sam Varshavchik [EMAIL PROTECTED] wrote: > 'imapd --version' generates useful output. That's the imapd in bin, > not in sbin. | io:~> /usr/bin/imapd --version | Courier 0.45.4 (Courier-IMAP 3.0.3)/i686-pc-linux-gnu/Tue Apr 6 14:24:50 CEST 2004 "0.45.4" is about as precise a version number as is useful for the purpose. "0.45" definitely is too imprecise. "0.45.4.20040411" would be fine, but I don't think the extra precision is needed for programmatically deciding which Courier features are available. Besides, I think the "--version" behavior should, for all intents and purposes, be consistent between `imapd` and `courier`. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
