1From d27062fe7a520d5791f7a56d175a5cb6a39bae61 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Stefan=20S=C3=B8rensen?= <stefan.sorensen@spectralink.com>
3Date: Tue, 18 Apr 2017 12:00:39 +0200
4Subject: [PATCH] Force grep to treat the input as text when formatting word
5 files.
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
11---
12 util/cracklib-format | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/util/cracklib-format b/util/cracklib-format
16index 1d7be5b..b1de8e8 100644
17--- a/util/cracklib-format
18+++ b/util/cracklib-format
19@@ -4,7 +4,7 @@
20 # into cracklib-packer
21 #
22 gzip -cdf "$@" |
23-    grep -v '^\(#\|$\)' |
24+    grep -a -v '^\(#\|$\)' |
25     tr '[A-Z]' '[a-z]' |
26     tr -cd '\012[a-z][0-9]' |
27     env LC_ALL=C sort -u
28--
292.9.3
30
31