I have a command that produces output in color, and I would like to pipe it into a file with the color codes stripped out. Is there a command that works like `cat` except that it strips color codes? I plan to do something like this:

```
$ command-that-produces-colored-output | stripcolorcodes > outfile

```