view netinstall/version.pl @ 3959:8fe2dec941b3

[xemacs-hg @ 2007-05-17 15:42:10 by stephent] Fixup error-checking option docstring. <87r6pf8n84.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Thu, 17 May 2007 15:42:48 +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";
  }
}