aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-03-13 08:39:14 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-03-13 08:39:14 -0700
commit4ebfc8ae2e9b01a937a8ffac4f91e2b9b5af8b4c (patch)
tree4143926a6a6637d37397977ec997b586f7ebda70
parentacb267ef336509aa3f2f47545f3bb0474ed342dd (diff)
downloadpandoc-4ebfc8ae2e9b01a937a8ffac4f91e2b9b5af8b4c.tar.gz
Removed stripansi.sh.
-rwxr-xr-xstripansi.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/stripansi.sh b/stripansi.sh
index 7f1a55da0..398a2d16f 100755
--- a/stripansi.sh
+++ b/stripansi.sh
@@ -1,10 +1,6 @@
#!/bin/sh
-# use th is to strip out ANSI codes, if you want to pipe
+# use to strip out ANSI codes, if you want to pipe
# outputof 'cabal test' to a file.
-if which -s gsed; then
- gsed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
-else
- gsed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
-fi
+sed -e 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'