aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2017-06-04 17:27:02 -0700
committerMark Sapiro <mark@msapiro.net>2017-06-04 17:27:02 -0700
commitbdba0e977c9d6e7a69c722a1074f89082c1632b4 (patch)
tree25f1f4ae43a78f78b70af5800aa08ef1384d4609
parentaab0efe4e81950567bc44c3c6148cc9cf6a9f167 (diff)
downloadmailman2-bdba0e977c9d6e7a69c722a1074f89082c1632b4.tar.gz
mailman2-bdba0e977c9d6e7a69c722a1074f89082c1632b4.tar.xz
mailman2-bdba0e977c9d6e7a69c722a1074f89082c1632b4.zip
Added -a to default (e)grep in contrib/mmdsr.
-rw-r--r--NEWS3
-rw-r--r--contrib/mmdsr9
2 files changed, 10 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 0d2c4cb4..9b0bbd46 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@ Here is a history of user visible changes to Mailman.
Bug fixes and other patches
+ - Added a -a option to the (e)grep commands in contrib/mmdsr to account
+ for logs that may have non-ascii and be seen as binary.
+
- Fixed the -V option to bin/list_lists to not show lists whose host is a
subdomain of the given domain. (LP: #1695610)
diff --git a/contrib/mmdsr b/contrib/mmdsr
index 8cbe55cb..bf5e71c9 100644
--- a/contrib/mmdsr
+++ b/contrib/mmdsr
@@ -202,6 +202,11 @@
# 0.0.26 Update by Mark Sapiro <mark@msapiro.net>
# Updated on: Sat Feb 20 21:17:14 PST 2016
# Properly display No such list names that contain ".
+#
+# 0.0.27 Update by Mark Sapiro <mark@msapiro.net>
+# Updated on: Sun Jun 4 17:12:54 PDT 2017
+# Added -a to default (e)grep to account for logs that may
+# have non-ascii and be seen as binary.
###############################################################################
# Set up locations of standard commands, directories, etc....
@@ -212,9 +217,9 @@ AWK="/usr/bin/awk"
BASENAME="/usr/bin/basename"
CAT="/bin/cat"
DATE="/bin/date"
-EGREP="/bin/egrep"
+EGREP="/bin/egrep -a"
FMT="/usr/bin/fmt"
-GREP="/bin/grep"
+GREP="/bin/grep -a"
HEAD="/usr/bin/head"
LS="/bin/ls"
MKTEMP="/bin/mktemp"