view netinstall/version.pl @ 842:dc12269565c9

[xemacs-hg @ 2002-05-14 18:14:27 by ben] fix crash -- tab at buffer beg font-lock.c: Don't use off the beginning position to initiate syntax cache.
author ben
date Tue, 14 May 2002 18:14:30 +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";
  }
}