From a6e3bc0ace8d9287822e8ab283baabc3bef00fe3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Sep 2000 12:12:16 +0000 Subject: (announcement): Use a stricter regexp for the previous version. --- Makefile.maint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.maint b/Makefile.maint index fc0d92ce0..332cff7e3 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:; \ -- cgit v1.2.3-70-g09d2