Re: Adding --color option to script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 23, 2010 at 02:25:02PM -0800, Philip Prindeville wrote:
> I would love to see an option like --color which used terminal
> colors to highlight STDERR output (or, in a pinch, maybe bold it on
> terminals that don't support color... if they still exist).

 The script(1) command does not work on this level. It reads data
 directly from master side of the terminal. It means that we are not
 able to distinguish between stdout and stderr.

> Sound reasonable?

 Yes, but I don't see a way how to implement it.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux