From 8d292b0f8afc8c56edb033d74481d7cd78c0ef96 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 22 Feb 2003 16:32:58 +0000 Subject: add comment --- announce-gen | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'announce-gen') diff --git a/announce-gen b/announce-gen index 5bb15eda7..1daedd49f 100755 --- a/announce-gen +++ b/announce-gen @@ -6,7 +6,7 @@ use Getopt::Long; use Digest::MD5; use Digest::SHA1; -(my $VERSION = '$Revision: 1.8 $ ') =~ tr/[0-9].//cd; +(my $VERSION = '$Revision: 1.9 $ ') =~ tr/[0-9].//cd; (my $ME = $0) =~ s|.*/||; END @@ -212,6 +212,9 @@ EOF } else { + # Be careful that this regexp cannot match version numbers + # in NEWS items -- they might well say `introduced in 4.5.5', + # and we don't want that to match. $line =~ /^[^ *].*\Q$prev_version\E/o and last; print $line; -- cgit v1.2.3-54-g00ecf