Bug#464960: Fails to show escaped periods found at the beginning of a line
Am Sonntag, den 10.02.2008, 09:28 + schrieb Colin Watson: reassign 464960 groff-base [..] On Sun, Feb 10, 2008 at 03:46:08AM +0100, Daniel Leidert wrote: Package: man-db [..] Firstly, this should be on groff-base rather than man-db, but in any case: The code to reproduce it is rather simple. I found this one in manpage: !--begin-index-- \.\.\. !--end-index-- This code (remember that groff is a language with its own very specific rules, which often correspond fairly closely to running text but not always) is incorrect. Well, groff(7) says: [..] \. An uninterpreted dot (period), even at start of line. [..] This why I thought, the code is correct (I tried to fix source code, that did not escape the leading dots at all). So I thought, man-db is misinterpreting something. he reasons are rather subtle. \. is not a real escape sequence; it is in fact equivalent to . (the default control character) except that it is delayed by one macro expansion. I wonder if the above quoted sentence in the manpage needs to be fixed then? [..] The correct rendering of the above would be: !--begin-index-- \... !--end-index-- Thanks for this. Works. Regards, Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#464960: Fails to show escaped periods found at the beginning of a line
Package: man-db Version: 2.5.1-2 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The code to reproduce it is rather simple. I found this one in manpage: !--begin-index-- \.\.\. !--end-index-- However, the output from man misses the three periods. I attach a sample file to this report. Regards, Daniel - -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core) Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages man-db depends on: ii bsdmainutils 6.1.10collection of more utilities from ii debconf [debconf-2.0] 1.5.19Debian configuration management sy ii dpkg 1.14.16.6 package maintenance system for Deb ii groff-base 1.18.1.1-16 GNU troff text-formatting system ( ii libc6 2.7-6 GNU C Library: Shared libraries ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime man-db recommends no packages. - -- debconf information excluded -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHrmVwm0bx+wiPa4wRAn3WAJ0YrzLgga1C9PCe+pV4yd6ezv5awwCcCMNZ SKTNFr96aShlYoIAhZbb0A4= =OXc1 -END PGP SIGNATURE- .TH TEST 1 2008 Debian GNU/Linux Sample file .SH NAME foo \- bar .SH DESCRIPTION The following is a sample code that misses to show 3 periods between the comments: .sp .nf !--begin-index-- \.\.\. !--end-index-- .fi