Paul Eggert <[EMAIL PROTECTED]> ha escrit: > I agree. It appears to be a bug introduced in this patch:
Yes, indeed. I agree, too. > As your example shows, it's not so simple as blindly applying > --strip-components values to every link that comes in. Perhaps > absolute links should be stripped, but certainly a relative symbolic > link within the tree should not be stripped. In this particular case, yes, probably it should not. But the problem is more general than that. Consider, for example, running tar --transform='s,/subdir/,/sub-dir/,' -x -f archive.tar and suppose that archive.tar contains the following symlink: dir1/a -> ../subdir/a The link target contains leading dots, but it is obviously subject to filename transformation, otherwise the extraction won't be correct. Regards, Sergey