delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/05/11:32:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=O6XJPG
FZwGsiugxPxTy3orl7MxUsK85j8w3UwRGJ+0r4VWcDnNWbY8MT6c5ptNewWkGeq8
rEioqjHocpMETFIv7/emho//5U6vMOltisnAoteEeaUOVPdWQwrhbXYTpBMY4m0i
JQiuzArWgFuQAuH1fsws5+6Y52hmw7xG/PSiI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; s=default; bh=7vC4W88I6E1U
rI57MPlvoBQg0n4=; b=nQvwFCvMV6CetYge//VZbDXYu+4fCx6Je09So53Rn+Tk
0a3rmqBk/wVmyGVeMgpGF9Tq0yUojxG4OgNvureH97V/yQbjyTx42kLwLNrHg3wS
du/Rn19DhYFEvsSqyMnRenJ9hc0gXcJ1gpZnHHmiMqtjpNNCbtzjlB9Y4PFpGNE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:817
X-HELO: lb1-smtp-cloud9.xs4all.net
Date: Fri, 05 Oct 2018 17:32:16 +0200
Message-ID: <8100972155fcccd61852c0c9e48cd11b@smtp-cloud9.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: grep < fifo fails
References: <d56a12c77ecc441ca7dc2e8e1862145c AT prosa DOT dk> <d8e9dbf61b6299cae6db6da3a25eabb8 AT smtp-cloud9 DOT xs4all DOT net> <bb7dfc32e67366d58d10eb4dc2eda7f5 AT smtp-cloud7 DOT xs4all DOT net>
In-Reply-to: <bb7dfc32e67366d58d10eb4dc2eda7f5@smtp-cloud7.xs4all.net>
User-Agent: mua.awk 0.99

On Thu, 04 Oct 2018 18:02:03, Houder wrote:
> On Wed, 03 Oct 2018 20:46:11, Houder wrote:
> > On Wed, 3 Oct 2018 15:37:14, Ole Tange wrote:
> > > This works:
> > > 
> > > $ mkfifo fifo
> > > $ echo > fifo & grep .  fifo
> > > [1] 10232
> > > [1]+  Done                    echo > fifo
> > > 
> > > But this fails:
> > > 
> > > $ echo > fifo & grep . < fifo
> > > [1] 11756
> > > grep: (standard input): Invalid argument
> > > [1]+  Done                    echo > fifo
> > > 
> > > I see the same behavior on MINGW, but I do not see the same behavior on GNU=
> > > /Linux.
> 
> My apologies. Did not read your post as careful as I should have the first time.
> You are correct: grep is in error here.

Filed this bug at bug-grep AT gnu DOT org; it is filed under number 32943.

 - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32943

Regards,
Henri


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019