view netinstall/version.pl @ 627:a813963500d8

[xemacs-hg @ 2001-07-12 06:29:08 by tuck] Fix scan_sexps `unbalanced parentheses' bug when dealing with mixed comment styles in c++/java/etc. mode
author tuck
date Thu, 12 Jul 2001 06:29:10 +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";
  }
}