help-make
[Top][All Lists]
Advanced

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

RE: Advanced Auto-Dependency Generation and Parallel Execution


From: Josh Davidson
Subject: RE: Advanced Auto-Dependency Generation and Parallel Execution
Date: Sun, 30 Nov 2008 22:53:15 -0700

I must be missing something:
            sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
                -e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \

How is the "< $*.d >> $*.P" not redirecting STDIN to $*.d?

Josh

-----Original Message-----
From: Paul Smith [mailto:address@hidden 
Sent: Sunday, November 30, 2008 12:53 PM
To: Josh Davidson
Cc: address@hidden
Subject: Re: Advanced Auto-Dependency Generation and Parallel Execution

On Sun, 2008-11-30 at 01:17 -0700, Josh Davidson wrote:
> Since sed is reading from STDIN to generate the dependency problem,
> doesn?t it violate the rule above?

sed is not reading from the terminal.  It's reading from the output of
the previous command, through the pipe.  So, there is no worry here.

-- 
----------------------------------------------------------------------------
---
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "Please remain calm...I may be mad, but I am a professional." --Mad
Scientist






reply via email to

[Prev in Thread] Current Thread [Next in Thread]