view netinstall/version.pl @ 1579:aebc80e1f056

[xemacs-hg @ 2003-07-18 20:07:04 by james] Ilya Golubev's fix to make pobj work properly with symbol names.
author james
date Fri, 18 Jul 2003 20:07:05 +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";
  }
}