view netinstall/version.pl @ 1096:2c2ff019dd33

[xemacs-hg @ 2002-11-11 15:56:18 by stephent] malloc urefs <8765v4yufk.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 11 Nov 2002 15:56:21 +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";
  }
}