git.iko.soy
/
typeable/pandoc
readme
files
commits
refs
on
master
help
sign in
Added stripansi.sh, for sending 'cabal test' output to file.
9548f06
John MacFarlane
16 years ago
stripansi.sh
new file
+10
compare with master
unified
split
@@ -0,0 +1,10 @@
1
+
#!/bin/sh
2
+
3
+
# use th is to strip out ANSI codes, if you want to pipe
4
+
# outputof 'cabal test' to a file.
5
+
6
+
if
which -s gsed;
then
7
+
gsed -r
"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
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list