view netinstall/version.pl @ 4264:9db20cbbe4c7

[xemacs-hg @ 2007-11-14 18:06:47 by aidan] Correct some documentation on character representation and display.
author aidan
date Wed, 14 Nov 2007 18:06:52 +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";
  }
}