view netinstall/version.pl @ 847:74899b430f18

[xemacs-hg @ 2002-05-17 03:46:55 by stephent] complete the patch
author stephent
date Fri, 17 May 2002 03:46: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";
  }
}