view netinstall/version.pl @ 1090:13305f7e85f0

[xemacs-hg @ 2002-11-10 16:07:12 by michaels] 2002-11-03 Mike Sperber <mike@xemacs.org> * code-process.el (call-process-region): Preserve return value from `call-process.'
author michaels
date Sun, 10 Nov 2002 16:07:13 +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";
  }
}