view netinstall/version.pl @ 968:715eed24e30e

[xemacs-hg @ 2002-08-20 06:31:26 by youngs] I wonder...
author youngs
date Tue, 20 Aug 2002 06:31:26 +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";
  }
}