annotate netinstall/version.pl @ 1476:d824841064f3

[xemacs-hg @ 2003-05-12 05:12:10 by youngs] 2003-05-11 Simon Josefsson <jas@extundo.com> * replace.el (delete-non-matching-lines, kill-non-matching-lines) (copy-non-matching-lines, delete-matching-lines) (kill-matching-lines, copy-matching-lines): Don't message.
author youngs
date Mon, 12 May 2003 05:12:10 +0000
parents 3078fd1074e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
1 while (<STDIN>) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
2 if (/^\$Revision:\s*([0-9\.]*)/) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
3 print "char *version = \"$1\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
4 print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
5 }
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
6 }