Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postfix/mantools/     Datei vom 8.1.2004 mit Größe 520 B image not shown  

Quelle  specmiss   Sprache: Unknown

 

#!/usr/bin/perl

# Get all the postconf parameter names from the postconf.proto file.

die "Usage: $0 protofile [filename...]\n" 
        unless $protofile = shift(@ARGV);

# Read the whole file even if we want to print only one parameter.

open(POSTCONF, $protofile) || die " cannot open $protofile: $!\n";

while(<POSTCONF>) {
   if (/^%(PARAM)\s+(\S+)/) {
 $found{$2} = 1;
   }
}

while (<>) {
    if (/^%(PARAM)\s+(\S+)/) {
        delete $found{$2};
    }
}

for $name (sort keys %found) {
    print $name,"\n";
}


Messung
CHZG
939710096

¤ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland