[PATCH] man: escape literal newlines
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Fri Jan 30 07:21:21 CST 2009
On Fri, Jan 30, 2009 at 01:12:53PM +0100, Christian Ebert wrote:
> * Christian Ebert on Monday, January 26, 2009 at 15:49:39 +0100
> > Hi Benoît,
> >
> > w/o patch:
> >
> > $ hg tip --template "{date|isodate}0
> > 2008-08-21 18:22 +0000
> >
> > w/ patch:
> >
> > $ hg tip --template "{date|isodate}\n"
> > 2008-08-21 18:22 +0000
> >
> >> Unless I missed something, it works for me with:
> >> $ xmlto --version
> >> xmlto version 0.0.20
> >
> > xmlto version 0.0.18
> >
> >> $ man --version
> >> man 2.5.2
> >
> > man, version 1.6c
> >
> > $ asciidoc --version
> > asciidoc 8.3.4
> > $ sw_vers
> > ProductName: Mac OS X
> > ProductVersion: 10.5.6
> > BuildVersion: 9G55
> >
> > man is shipped with MacOS X, xmlto is from fink, asciidoc is
> > latest tip.
> >
> > The double -e of sed works with GNU sed (from fink) and shipped
> > (probably BSD-like) sed from Mac. Not sure whether this would
> > have to be split into 2 sed calls wrt compatibility.
It really looks like a bug in xmlto, one person on irc with MacOS didn't
have any problem with xmlto version 0.0.21.
The problem with the patch is that it has some side-effects, see the
diff between patch and unpatched here:
http://www.paste-it.net/private/v91d167/
So I prefer not to break non-buggy xmlto version.
regards,
Benoit
--
:wq
More information about the Mercurial-devel
mailing list