This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

grep < fifo fails


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]