public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* grep < fifo fails
@ 2018-10-03 15:37 Ole Tange
  2018-10-03 16:50 ` Marco Atzeri
  2018-10-03 18:46 ` Houder
  0 siblings, 2 replies; 9+ messages in thread
From: Ole Tange @ 2018-10-03 15:37 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-10-10 11:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 15:37 grep < fifo fails Ole Tange
2018-10-03 16:50 ` Marco Atzeri
2018-10-03 18:46 ` Houder
2018-10-04 16:02   ` Houder
2018-10-05 15:32     ` Houder
2018-10-08  8:24       ` Houder
2018-10-08 15:03         ` Eric Blake
2018-10-10 11:22           ` Corinna Vinschen
2018-10-10  9:53         ` Houder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).