view netinstall/version.pl @ 614:42bfaea76395

[xemacs-hg @ 2001-06-11 01:55:26 by martinb] DECIMAL_PRINT_SIZE sun cc bug workaround
author martinb
date Mon, 11 Jun 2001 01:55:28 +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";
  }
}