I want to remove control characters (like ^C, ^A, and so on) from a standard input and print it to standard output, using just basic bash, perl and some other linux tools.
What I do right now is
(something) | sed 's/[[:cntrl:]]//g' | (something else)
Which worked until now, but now I found out it removes tabulators too and I want to keep those.
So, is there something else, just working?