summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-11-12 13:47:04 +0100
committerPatrick Simianer <p@simianer.de>2015-11-12 13:47:04 +0100
commit40cc40501c9ac3803cb03c717ceeca8cf3d499d7 (patch)
tree6eb132b3a683bfe75791e08a11f406465d0e5f2d
parent4e0fe816fc9f84e4ce17956de88458087dcc1f66 (diff)
script to normalize hyphens
-rwxr-xr-xnorm_hyphens4
1 files changed, 4 insertions, 0 deletions
diff --git a/norm_hyphens b/norm_hyphens
new file mode 100755
index 0000000..4a152a1
--- /dev/null
+++ b/norm_hyphens
@@ -0,0 +1,4 @@
+#!/bin/zsh -x
+
+sed "s|[ \t]\+\xc2\xad[ \t]\+||g"
+