OT: coloured text?
Hi folks,
just a short question, please allow me to ask:
How can I get coloured text output in a shell script?
I am using:
echo "my text bla"
As far as I read and understood, this is not possible in every shell. I found
nothing in bash manual for example.
Debian is using "dash" and not "bash", if I am correct, and with using the
shebang line :!/bin/sh it is using dash, am I correct?
If I want coloured text, which shell do I have to use and what is the syntax
then within the shell script?
I searched the web, but could not find a clear answer to this.
Thanks for a short answer.
Best regards
Hans
Reply to: