view netinstall/version.pl @ 861:9a116d92c011

[xemacs-hg @ 2002-06-03 10:10:03 by stephent] typo <87n0uchdzx.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 03 Jun 2002 10:10:12 +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";
  }
}