[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-diffutils] [PATCH] diff: Encode file names with special charact
Re: [bug-diffutils] [PATCH] diff: Encode file names with special characters
Mon, 10 Sep 2012 14:14:11 +0200
On Mon, 2012-09-10 at 13:47 +0200, Jim Meyering wrote:
> Andreas Gruenbacher wrote:
> > Note that the test case might not survive sending over email as it
> > contains a special character. Maybe the test case can be turned into
> > plain text somehow and stay reasonably portable.
> > diff --git a/tests/filename-quoting b/tests/filename-quoting
> > new file mode 100755
> > index 0000000..d06ff60
> I guess the ^A (0x01) was what you meant, but I'd suggest also
> replacing a couple of TABs in nearby code. I'll be happy to
> include this change [...] in your patch
Great if the printf utility is portable enough to use here.