=head1 NAME innconfval - Get configuration parameters from inn.conf =head1 SYNOPSIS B [B<-pstv>] [B<-i> I] [I ...] B B<-C> [B<-i> I] =head1 DESCRIPTION B normally prints the values of the parameters specified on the command line. By default, it just prints the parameter values, but if B<-p>, B<-s>, or B<-t> are given, it instead prints the parameter and value in the form of a variable assignment in Perl, Bourne shell, or Tcl respectively. If no parameters are specifically requested, B prints out all parameter values (this isn't particularly useful unless one of B<-p>, B<-s>, or B<-t> were specified). All parameters are taken from F except for I, which is always the version string of INN. If given the B<-C> option, B instead checks F, reporting any problems found to standard error. B will exit with status 0 if no problems are found and with status 1 otherwise. =head1 OPTIONS =over 4 =item B<-C> Check F rather than printing out the values of parameters. =item B<-i> I Use I as the source configuration file rather than F. I must be a valid F file and will be parsed the same as F would be. =item B<-p> Print out parameters as Perl assignment statements. The variable name will be the same as the F parameter, and string values will be enclosed in single quotes with appropriate escaping. Boolean values will be mapped to C or C, and string parameters that are set to NULL will be mapped to empty strings. =item B<-s> Print out parameters as Bourne shell assignment statements. The variable name will be the F parameter name in all capitals, and all variables will be exported. String values will be enclosed in single quotes with appropriate escaping, and boolean values will be mapped to C or C. String parameters that are set to NULL will be mapped to empty strings. =item B<-t> Print out parameters as Tcl assignment statements. The variable name will be the same as the F parameter name but with C prepended, and string variables will be escaped appropriately. Boolean values will be mapped to C or C and string parameters that are set to NULL will be mapped to empty strings. =item B<-v> Print INN's version. This is equivalent to C. =back =head1 HISTORY Written by Rich $alz for InterNetNews. $Id: innconfval.pod 5962 2002-12-08 19:52:13Z rra $ =head1 SEE ALSO inn.conf(5) =cut