From: Jim Meyering Date: Sat, 9 Sep 2000 12:12:16 +0000 (+0000) Subject: (announcement): Use a stricter regexp for the previous version. X-Git-Tag: FILEUTILS-4_0_27~65 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a6e3bc0ace8d9287822e8ab283baabc3bef00fe3;p=thirdparty%2Fcoreutils.git (announcement): Use a stricter regexp for the previous version. --- diff --git a/Makefile.maint b/Makefile.maint index fc0d92ce0f..332cff7e3a 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -122,7 +122,7 @@ announcement: NEWS ChangeLog $(distdir).tar.gz echo "$(md5) $(distdir).tar.gz"; \ echo; \ echo NEWS:; \ - sed -n "/$(THIS_VERSION_REGEXP)/,/$(PREV_VERSION_REGEXP)/p" NEWS \ + sed -n "/$(THIS_VERSION_REGEXP)/,/^\[$(PREV_VERSION_REGEXP)/p" NEWS \ | grep -v '^\['; \ echo; \ echo ChangeLog entries:; \