One more thing, this works well from the command line, but if you want
to make it work from within a PHP script that output data to the
terminal then remove the "-e";.
On Thu, May 31, 2012 at 12:15 PM, Darryle Steplight
wrote:
> Thanks Chris ,
>
> That's exactly what I was looking for. For anyon
Thanks Chris ,
That's exactly what I was looking for. For anyone else who needs help
with this, here are my working examples, with a little explanation.
echo -e "\033[34m Contact List \033[0m";<- The "34m" part makes
Contact List a dark blue color and the "0m" at the end stops the
colori
On Thu, May 31, 2012 at 11:48 AM, Matthew Kaufman wrote:
> http://pear.php.net/Console_Color
>
If you just need a quick hack and you're using bash, this will help:
http://tldp.org/LDP/abs/html/colorizing.html
Note that where it says \E in the examples you should replace with
\033 to get an ESC c
http://pear.php.net/Console_Color
On Thursday, May 31, 2012, Darryle Steplight wrote:
> Hi Everyone,
>
> I'm writing a cron script which I'm testing by executing the
> script from the command line. The output is obviously displaying in
> the terminal and I would like to change the font colo