Unexpected "write error" reported by tar when using it in a pipe
Issue
On RHEL6, tar returns a write error when I want to pipe the output of -ztf through head -1
When I do the same through | sort -r | tail -1 this goes without error.
When I do the same (| head -1) on RHEL 5.7 using the same tar archive it works without errors.
Environment
- Red Hat Enterprise Linux (RHEL) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.