Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / mantools / specmiss
blobc2498e86e53873806078bce1f3d7d4141cd2380f
1 #!/usr/bin/perl
3 # Get all the postconf parameter names from the postconf.proto file.
5 die "Usage: $0 protofile [filename...]\n"
6 unless $protofile = shift(@ARGV);
8 # Read the whole file even if we want to print only one parameter.
10 open(POSTCONF, $protofile) || die " cannot open $protofile: $!\n";
12 while(<POSTCONF>) {
13 if (/^%(PARAM)\s+(\S+)/) {
14 $found{$2} = 1;
18 while (<>) {
19 if (/^%(PARAM)\s+(\S+)/) {
20 delete $found{$2};
24 for $name (sort keys %found) {
25 print $name,"\n";