view netinstall/version.pl @ 1083:d87493ecc64b

[xemacs-hg @ 2002-11-04 05:19:45 by ben] factor out some module code
author ben
date Mon, 04 Nov 2002 05:19:54 +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";
  }
}