From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121894 invoked by alias); 3 Oct 2018 15:37:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 120788 invoked by uid 89); 3 Oct 2018 15:37:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: se02.fab-it.dk Received: from se02.fab-it.dk (HELO se02.fab-it.dk) (93.90.114.122) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Oct 2018 15:37:20 +0000 Received: from [62.243.9.111] (helo=post.prosa.dk) by se02.fab-it.dk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) (Exim 4.89) (envelope-from ) id 1g7jDA-0001rm-I4 for cygwin@cygwin.com; Wed, 03 Oct 2018 17:37:17 +0200 Received: from mail-03.prosa.local (10.1.0.16) by mail-04.prosa.local (10.1.0.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1466.3; Wed, 3 Oct 2018 17:37:15 +0200 Received: from mail-03.prosa.local ([fe80::11e4:85de:ea8a:bb4a]) by mail-03.prosa.local ([fe80::11e4:85de:ea8a:bb4a%11]) with mapi id 15.01.1466.009; Wed, 3 Oct 2018 17:37:14 +0200 From: Ole Tange To: "cygwin@cygwin.com" Subject: grep < fifo fails Date: Wed, 03 Oct 2018 15:37:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SpamExperts-Domain: prosa.dk X-SpamExperts-Username: outgoing Authentication-Results: fab-it.dk; auth=pass (login) smtp.auth=outgoing@prosa.dk X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.50) X-Recommended-Action: accept X-Report-Abuse-To: spam@se01.fab-it.dk X-SW-Source: 2018-10/txt/msg00019.txt.bz2 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. Regards, Ole Tange -- 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