view netinstall/version.pl @ 3516:e43d0da85762

[xemacs-hg @ 2006-07-19 15:04:46 by stephent] Improve description and eg of editing keystrokes. Thx M C Wescott. <87u05d63vk.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 19 Jul 2006 15:04:52 +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";
  }
}