From: Jim Meyering Date: Sat, 22 Feb 2003 16:32:58 +0000 (+0000) Subject: add comment X-Git-Tag: v4.5.9~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d292b0f8afc8c56edb033d74481d7cd78c0ef96;p=thirdparty%2Fcoreutils.git add comment --- diff --git a/announce-gen b/announce-gen index 5bb15eda7c..1daedd49fc 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;