summaryrefslogtreecommitdiff
path: root/no-non-printables
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-07-05 11:01:46 +0200
committerPatrick Simianer <p@simianer.de>2016-07-05 11:01:46 +0200
commit2b1d7f881c19c4d4b5afae194e02d3300c7675d0 (patch)
tree5a06ee7de98640a39244b57bb369697176b44ebf /no-non-printables
parent69949dda35c3ea21d8e926e5f0a596a0a0f61c6a (diff)
mv
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'
+