BASH change color of text ?

dave selby dave6502 at googlemail.com
Tue Mar 11 21:30:06 UTC 2008


Thanks you guys, thats great

Cheers

dave


On 11/03/2008, Nils Kassube <kassube at gmx.net> wrote:
> I think I'm getting old ...
>  I wrote:
>
> > dave selby wrote:
>  > > dave at dev-machine:/var/lib/kmotion/daemons$ print "\033[1;32mkmotion
>  > > has been started\033[1;37m"
>  > > Warning: unknown mime-type for "\033[1;32mkmotion has been
>  > > started\033[1;37m" -- using "application/*"
>  > > Error: no such file "\033[1;32mkmotion has been started\033[1;37m"
>  > > dave at dev-machine:/var/lib/kmotion/daemons$
>
>
> I forgot to mention that print isn't the command you were looking for. You
>  might want to use printf if you don't like echo or if you want a C-like
>  string formatting.
>
>
>
>  Nils
>
>  --
>  ubuntu-users mailing list
>  ubuntu-users at lists.ubuntu.com
>  Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


-- 

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




More information about the ubuntu-users mailing list