view netinstall/version.pl @ 2256:6ffd69eff907

[xemacs-hg @ 2004-09-08 17:40:14 by james] Document field interface.
author james
date Wed, 08 Sep 2004 17:40:20 +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";
  }
}