On Sun, 7 Sep 2003, Amit Roseberger wrote: > Hi List. > I have a script that produce output to the standard terminal (a shell > window in Linux). > For example: > > [snip] > > But... I want to understand exactly what happens and also to find out if > this is the best and most elegant solution. > I would appreciate a nice solution but also a direction to some written > man that describe it. > BAsically, I want to understand how this is done in the technical level > (I mean who is responsible the OS or the Shell) so that my code could be > run on different distributions of the same OS or different shells. >
Well, the shell is responsible for output formatting, including colours. The bash way of colouring output (including colour codes) is described in: http://archives.real-time.com/pipermail/tclug-list/2002-March/048795.html -- Tal Peer Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x253D2947 Key Fingerprint: C0B1 D91D 7323 6C0F 227A CBD6 D635 E53D 253D 2947 ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
