Hi,thanks for the patch - I tested it and all seems to work with both pipe and <<, coreutils test suite is also happy.
Just a small correction on my part, somebody found this bug first at 8.16, but this might have been there for longer.
thanks Jakub On 5/28/19 10:46 PM, Paul Eggert wrote:
Thanks for reporting the problem. Please try the attached patch, which I've installed in the development repository.