bug-groff
[Top][All Lists]
Advanced

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

backslash-period escape does not work


From: Jan Vcelak
Subject: backslash-period escape does not work
Date: Mon, 21 Mar 2011 20:09:29 +0100
User-agent: KMail/1.13.6 (Linux/2.6.35.10-74.fc14.x86_64; KDE/4.5.5; x86_64; ; )

Hi!

The backslash-period escape sequence in groff doesn't work as described in 
documentation.

Manual page:
\.     An uninterpreted dot (period), even at start of line.

Minimal reproducer:
$ groff -wmac -Tascii <<< '\.foo'
<standard input>:1: warning: macro `foo' not defined

Original report in Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=682857

I'm attaching a proposed patch. But I suppose there is a better way of fixing 
it. This looks a little bit like a workaround. It is just the easiest way with 
the least modifications of the code.

Jan


--
Jan Včelák
Base Operating Systems Brno
Red Hat Inc.

Attachment: groff-escape-period.patch
Description: Text Data


reply via email to

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