view netinstall/version.pl @ 4083:a3f8bb07ab38

[xemacs-hg @ 2007-07-28 08:02:15 by aidan] Make ccl-encode-to-ucs-2 more robust.
author aidan
date Sat, 28 Jul 2007 08:02:16 +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";
  }
}