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:[EMAIL PROTECTED] 
Sent: Sunday, November 30, 2008 12:53 PM
To: Josh Davidson
Cc: [email protected]
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 <[EMAIL PROTECTED]>          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




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to