view netinstall/version.pl @ 2633:b921e3d0ac3e

[xemacs-hg @ 2005-03-04 21:59:42 by aidan] Add encode-char and decode-char functions, for wider Mule compatibility. They do unicode-to-char and char-to-unicode, and are implemented in Mule-UCS and GNU Emacs.
author aidan
date Fri, 04 Mar 2005 21:59:43 +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";
  }
}