(announcement): Use a stricter regexp for the previous version.
authorJim Meyering <jim@meyering.net>
Sat, 9 Sep 2000 12:12:16 +0000 (12:12 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 9 Sep 2000 12:12:16 +0000 (12:12 +0000)
Makefile.maint

index fc0d92ce0fa61c0be900a330f6190d6c98fb431b..332cff7e3a4f0e9db5423ec93222da5379bac9a6 100644 (file)
@@ -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:; \