On Wed, 23 Oct 2002, christopher j bottaro wrote:

> configure exited successfully, but also tee its output to a file and
> grep it for any warnings about missing packages before i go on to
> compile it.

I think you're making it more complicated than it needs to be. You can 
create it as a series of statements:

        ./configure > /tmp/config.out
        egrep "MyRegEx Here" /tmp/config.out && make
        
If you are going to look at the output anyway before building, why not
just run configure and then less the file? If you really insist on
watching the output scroll off the screen in real time, you can do
something like:

        egrep "MyRegEx Here" <( ./configure | tee /tmp/config.out )

but I don't really see what that buys you. Your mileage may vary.

-- 
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."

                        - Holly, JMC Vessel *Red Dwarf*



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to