view netinstall/version.pl @ 921:5fc81edb7a38

[xemacs-hg @ 2002-07-14 23:00:15 by mta] process.el (shell-command-on-region): Don't delete the region before giving it to call-process-region
author mta
date Sun, 14 Jul 2002 23:00:16 +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";
  }
}