Matt McCutchen | 1 Sep 2006 03:24
Picon

Re: file-attr-restore and dollar signs

On 8/31/06, Wayne Davison <wayned <at> samba.org> wrote:
> The find command already puts a backslash in front of a backslash in the
> name (because it is inserting backslash escapes into the name).

That's not what I am concerned about.  find never produces a "\$"
sequence.  However, if the input for some reason contained a "\$", it
would be nice if the script either rejected it or interpreted it in
some way that did not involve an unexpected interpolation.

Matt
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Wayne Davison | 2 Sep 2006 22:06
Picon
Favicon

Re: file-attr-restore and dollar signs

On Thu, Aug 31, 2006 at 09:24:53PM -0400, Matt McCutchen wrote:
> However, if the input for some reason contained a "\$", it would be
> nice if the script either rejected it or interpreted it in some way
> that did not involve an unexpected interpolation.

I wasn't particularly worried about manually-entered escapes, but I saw
an easy way to improve the parser, so I went ahead and checked-in a
change that avoids the problem with characters such as '$' while not
introducing any unexpected behavior for already-backslash-escaped
characters.

..wayne..
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Gmane