bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: please help!!


From: Eli Zaretskii
Subject: Re: please help!!
Date: Tue, 31 Jul 2001 11:49:35 +0300 (IDT)

On Tue, 31 Jul 2001, Tibor Stojanovski wrote:

> nmake |sed "/requires run-time/d"
> 
> However in contradiction to 'sed FAQ 014', section 3.1 ..."Sed takes a
> script of editing commands and applies each command, in order, to each
> line of input. After all the commands have been applied to the first
> line of input, that line is output.", the behaviour seen is that the
> entire nmake build is completed BEFORE (ie. not after each line of
> output) sed executes.

Sed cannot apply any commands before it sees some input.  Since you
are on Windows, you should know that the stock Windows shell
implements pipes via temporary files, and invokes Sed only after nmake
finishes.

In other words, this is an issue with how the shell implements pipes,
not with how Sed processes its input.



reply via email to

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