view netinstall/version.pl @ 2141:6bca5896aab2

[xemacs-hg @ 2004-06-18 07:18:38 by stephent] neon modeline example <874qp9jpx1.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 18 Jun 2004 07:18:40 +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";
  }
}