bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Fwd: [regression] tar mess up \ and \\ files


From: Bastien ROUCARIES
Subject: Re: [Bug-tar] Fwd: [regression] tar mess up \ and \\ files
Date: Sat, 22 Mar 2014 10:33:56 +0100

On Sun, Mar 2, 2014 at 8:33 PM, Sergey Poznyakoff <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]