view netinstall/version.pl @ 585:5ce8d1ac7bde

[xemacs-hg @ 2001-05-29 04:21:30 by martinb] typo fix du jour
author martinb
date Tue, 29 May 2001 04:21:32 +0000
parents 3078fd1074e8
children
line wrap: on
line source

while (<STDIN>) {
  if (/^\$Revision:\s*([0-9\.]*)/) {
    print "char *version = \"$1\";\n";
    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
  }
}