view netinstall/version.pl @ 1216:9e59185523a6

[xemacs-hg @ 2003-01-15 15:33:55 by gin] about golubev <024f3e22e36506-gin@mo.msk.ru>
author gin
date Wed, 15 Jan 2003 15:33: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";
  }
}