Re: It cannot select the compression tool while reading from stdin

2024-10-09 Thread Vincenzo Romano
Hi. I know it's documented (see my report). I think that a change in the behavior would help pipelines a lot and make the behavior more consistent. IMHO. Il mer 9 ott 2024, 16:00 Sergey Poznyakoff ha scritto: > Hi Vincenzo, > > That's a normal and documented behavior. Quoting GNU Tar Manual, >

Re: It cannot select the compression tool while reading from stdin

2024-10-09 Thread Sergey Poznyakoff
Hi Vincenzo, That's a normal and documented behavior. Quoting GNU Tar Manual, subsection 8.1.1 "Creating and Reading Compressed Archives": The only case when you have to specify a decompression option while reading the archive is when reading from a pipe or from a tape drive that does n

Re: It cannot select the compression tool while reading from stdin

2024-10-09 Thread Vincenzo Romano
#System: ArchLinux (up-to-date) on x86_64 tar: GNU tar 1.35 gzip 1.13 # Steps to reproduce: 1. Get/create a compressed archive (e.g. "tar cfz test.tar.gz /etc/xdg") 2. Check it can be read and handled by tar (e.g. "tar tvf test.tar.gz") 3. Try to handle it from stdin (e.g. "tar tvf - < test.tar.gz

It cannot select the compression tool while reading from stdin

2024-10-09 Thread Vincenzo Romano
#System: ArchLinux (up-to-date) on x86_64 tar: GNU tar 1.35 gzip 1.13 # Steps to reproduce: 1. Get/create a compressed archive (e.g. "tar cfz test.tar.gz /etc/xdg") 2. Check it can be read and handled by tar (e.g. "tar tvf test.tar.gz") 3. Try to handle it from stdin (e.g. "tar tvf - < test.tar.gz