view netinstall/version.pl @ 766:7b8fc81f9587

[xemacs-hg @ 2002-03-05 13:39:26 by stephent] <200112191911.fBJJBlLS003848@foo-bar-baz.cc.vt.edu>
author stephent
date Tue, 05 Mar 2002 13:39:26 +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";
  }
}