view netinstall/version.pl @ 605:47823c2cf014

[xemacs-hg @ 2001-06-02 06:16:53 by ben] nt.c: fix off-by-one-indirection error.
author ben
date Sat, 02 Jun 2001 06:16:55 +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";
  }
}