repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bugfixes, features, documentation, examples, new tool
[hband-tools.git]
/
user-tools
/
strip-ansi-seq
blob
354538737dc2483850a99f8463a994cea0764ee1
1
#!/bin/sh
2
3
true
<<EOF
4
=pod
5
6
=head1 NAME
7
8
strip-ansi-seq - Dumb script removing more-or-less any ANSI escape sequences from the input stream
9
10
=cut
11
12
EOF
13
14
15
exec
sed
-e
's/
\e
\[[^a-zA-Z]*[a-zA-Z]//g'