summaryrefslogtreecommitdiff
path: root/no-non-printables
diff options
context:
space:
mode:
Diffstat (limited to 'no-non-printables')
-rwxr-xr-xno-non-printables4
1 files changed, 4 insertions, 0 deletions
diff --git a/no-non-printables b/no-non-printables
new file mode 100755
index 0000000..9f9e3f9
--- /dev/null
+++ b/no-non-printables
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+sed 's/\xEF\xBB\xBF//g' | sed 's/\xEF\xB7\x93//g' | sed 's/[[:cntrl:]]//g'
+