view netinstall/version.pl @ 4516:e96f3aca4d63

Document initial position of point in `with-string-as-buffer-contents'.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sat, 27 Sep 2008 16:31:32 +0900
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";
  }
}