On Fri, Mar 19, 2010 at 09:15:28PM +0200, Sergey Poznyakoff wrote: > Dmitry V. Levin <[email protected]> ha escrit: > > > introduces a regression: > > > > $ touch empty && tar -cf empty.tar empty && tar -tf empty.tar | : > > tar: write error > > This is intended behavior: instead of silently ignoring the error, > tar reports it.
I understand that this change was intended, but I'm not sure that all consequences of the change was taken into account. Now an innocent code like "tar -tf $file |grep -q $pattern" produces misleading error output, and the only way to avoid it is to suppress tar's stderr completely. :( I hope the change was not designed to produce such a negative side effect. -- ldv
pgp0rASup0PdA.pgp
Description: PGP signature
