git.iko.soy/typeable/pandoc
on master help sign in
Removed stripansi.sh.
4ebfc8aJohn MacFarlane
stripansi.sh+2−6
@@ -1,10 +1,6 @@
1#!/bin/sh
1#!/bin/sh
2
2
3−# use th is to strip out ANSI codes, if you want to pipe
3+# use to strip out ANSI codes, if you want to pipe
4# outputof 'cabal test' to a file.
4# outputof 'cabal test' to a file.
5
5
6−if which -s gsed; then
7− gsed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
6+sed -e 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g'
8−else
9− gsed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
10−fi