summaryrefslogtreecommitdiff
path: root/announce-gen
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-02-22 16:32:58 +0000
committerJim Meyering <jim@meyering.net>2003-02-22 16:32:58 +0000
commit8d292b0f8afc8c56edb033d74481d7cd78c0ef96 (patch)
tree015be26c0ab6511fa669d5fe31e7655a7395d92f /announce-gen
parent94755d84aa9761c3307fa6ad4b22d1b549e69989 (diff)
downloadcoreutils-8d292b0f8afc8c56edb033d74481d7cd78c0ef96.tar.xz
add comment
Diffstat (limited to 'announce-gen')
-rwxr-xr-xannounce-gen5
1 files changed, 4 insertions, 1 deletions
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;