On Sun, Mar 2, 2014 at 8:33 PM, Sergey Poznyakoff <g...@gnu.org.ua> wrote:
> Hi Markus,
>
>> Nowhere it mentions that unquoting is restricted to filenames read
>> with -T. From the documentation I'd guess that unquoting applies to
>> filenames from the command line, too.
>
> Yes, indeed, the unquoting is applied to names obtained from the command
> line as well, and as I said in my previous post that's the way tar
> operated at least since v. 1.13.
>
>> So what behavior is intended?
>
> My feeling is that unquoting file names obtained as arguments is rather
> pointless.  They should indeed be treated literally.  Although this can
> easily be fixed (see the attached patch), I'm afraid that the fix itself
> might break compatibility with some existing applications that use tar.

Yes they should be indeed treated literally. I use shell completion
and it is pretty natural to get the name as is.

Could you give us a solution in either way ?

Bastien

> Regards,
> Sergey
>

Reply via email to