Dr. Werner Fink wrote:
IMHO reading data from a FIFO/pipe or from a FSOCK/socket(pair) should result in the same result.
Yes it should, but only if you invoke 'grep' with the same arguments both times, which I expect you didn't. Look at the two execve lines in the strace output.