quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] [PATCH] diff/refresh: Quote file names which contain a s


From: Andreas Grünbacher
Subject: Re: [Quilt-dev] [PATCH] diff/refresh: Quote file names which contain a space
Date: Thu, 10 Aug 2023 11:02:40 +0200

Am Do., 10. Aug. 2023 um 10:27 Uhr schrieb Jean Delvare <jdelvare@suse.de>:
> Hi Andreas,
>
> On Thu, 13 Apr 2023 00:21:32 +0200, Andreas Grünbacher wrote:
> > Am Mi., 12. Apr. 2023 um 16:43 Uhr schrieb Andreas Grünbacher 
> > <agruen@gnu.org>:
> > > this is the case since commit e17295d [*], but the quoting rule GNU
> > > diff uses is different. I wonder if quilt shouldn't use the same rule.
> > > It's going to be ugly to code in bash, but ...
> > >
> > > https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=e17295dc5529b252c269f12e081184bbde42d575
> >
> > see if you find the attached bash code of any use.
>
> Thanks for the code (and the update). I'm not sure if we want to go
> that far though. Originally I wanted to fix the code due to a real
> world situation I was facing (spaces are sometimes used in file names,
> especially in the Windows world). But I certainly hope people never use
> weird characters such as new line, tab or non-printable characters in
> file names.
>
> I keep your proposed code at hand though, if it ever turns out to be
> needed.

Someone is surely going to use a filename with spaces and quotes in
them sooner or later, and the outcome will be bad right now.

Thanks,
Andreas



reply via email to

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