Removed stripansi.sh.

This commit is contained in:
John MacFarlane 2012-03-13 08:39:14 -07:00
parent acb267ef33
commit 4ebfc8ae2e

View file

@ -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'