[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint.mk: backslash-escape parens in default regexp
From: |
Jim Meyering |
Subject: |
[PATCH] maint.mk: backslash-escape parens in default regexp |
Date: |
Sat, 05 Dec 2009 10:03:10 +0100 |
Just pushed:
>From 208edc200d8bd7f9ce63cd348445b21fdbf58984 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 5 Dec 2009 10:02:01 +0100
Subject: [PATCH] maint.mk: backslash-escape parens in default regexp
* top/maint.mk (news-check-regexp): Now that we're using grep -E,
backslash-escape the literal parentheses.
---
ChangeLog | 4 ++++
top/maint.mk | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d7025c3..ddf5204 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-12-05 Jim Meyering <address@hidden>
+ maint.mk: backslash-escape parens in default regexp
+ * top/maint.mk (news-check-regexp): Now that we're using grep -E,
+ backslash-escape the literal parentheses.
+
maint.mk: news-date-check: use grep -E
* top/maint.mk (today): Define a Make variable, not a...
(news-date-check): ...shell variable.
diff --git a/top/maint.mk b/top/maint.mk
index 596da38..1ed1541 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -80,7 +80,7 @@ endif
# Override this in cfg.mk if you are using a different format in your
# NEWS file.
today = $(shell date +%Y-%m-%d)
-news-check-regexp ?= '^\*.* $(VERSION_REGEXP) ($(today))'
+news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)'
# Prevent programs like 'sort' from considering distinct strings to be equal.
# Doing it here saves us from having to set LC_ALL elsewhere in this file.
--
1.6.6.rc1.280.ge45b
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint.mk: backslash-escape parens in default regexp,
Jim Meyering <=