[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hightlighting in bash
From: |
Chet Ramey |
Subject: |
Re: Hightlighting in bash |
Date: |
Thu, 10 Mar 2011 15:42:39 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
On 3/10/11 3:28 PM, Micah Cowan wrote:
>>> It wouldn't be difficult to write as a separate program, which is really
>>> how this should be handled. You could redirect a pipeline's STDOUT and
>>> STDERR to individual named pipes (FIFOs), and have a separate program
>>> read from both pipes, inserting highlights around any data it copies
>>> from the STDERR pipe.
>>>
>> You could, but that would entail modifying every Makefile (a couple of
>> hundred), plus automake, etc.
>
> Nonsense. Just use shell redirections over the full command you're running.
Or just run automake/make via the program I talked about.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Re: Hightlighting in bash, Derek Fawcus, 2011/03/12
Re: Hightlighting in bash, Greg Wooledge, 2011/03/10
Re: Hightlighting in bash, Chet Ramey, 2011/03/10