Is there a pastebin service that supports terminal escape sequences

escape-charactersterminal

Is there a pastebin service that supports colors? I understand some of them have syntax hilighting, but I'd like to do arbitrary coloring, preferably using the terminal escape sequences.

For example, I'd like to do:

grep --color=force foo /etc/motd | pastebinit

Does anyone know such a cool site?

Best Answer

Termbin.com supports what you need.

$ grep --color=force foo /etc/motd | nc termbin.com 9999
http://termbin.com/xxxx

$ curl http://termbin.com/xxxx

You'll get exactly what you sent.

The service is running on a free and open software called Fiche so you can also install your own.

Related Question