I'm currently trying to
curl some raw text and have it displayed with interpreted ANSI colours in the Terminal.
Currently, when I run
curl http://example.com/test.txt (not the actual URL), it simply returns:
This is not what I am looking for; what I expected to be returned is what I see when I run
echo -e "\033[0;31mTEST\033[0m", which returns
TEST, coloured in red.
My question is: is there a way of making
curl interpret ANSI colour codes in order to have the colours properly displayed in the Terminal as you would expect when using