bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] maint: clarify that .x-update-copyright entries are EREs


From: Bernhard Voelker
Subject: [PATCH 1/2] maint: clarify that .x-update-copyright entries are EREs
Date: Tue, 5 Jan 2016 02:23:11 +0100

The entries in the exemption list are processed by
"grep -vEf ./.x-update-copyright" and therefore evaluated as an
extended regular expression (ERE).  Thus, e,g, a "bootstrap" entry
would also match for "bootstrap.conf" which we may want to be updated.
The current entries are unambiguous so far, but to avoid confusion when
adding further entries in the future, turn them into proper EREs.

* .x-update-copyright: Change all entries to EREs, i.e. including
the caret ^ and dollar sign $ meta-characters matching the beginning
and the end of a line.
---
 .x-update-copyright | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.x-update-copyright b/.x-update-copyright
index d66895f..f4f2b09 100644
--- a/.x-update-copyright
+++ b/.x-update-copyright
@@ -1,2 +1,2 @@
-ChangeLog-2013
-COPYING
+^ChangeLog-2013$
+^COPYING$
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]