view netinstall/version.pl @ 480:e07227fed94e

[xemacs-hg @ 2001-04-23 16:18:04 by didierv] Options saving: simple change, big gain
author didierv
date Mon, 23 Apr 2001 16:18:04 +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";
  }
}