[Top][All Lists]

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

Typo leads to wrong formatting in manpage

From: Daniel Hornung
Subject: Typo leads to wrong formatting in manpage
Date: Thu, 29 Nov 2007 20:53:11 +0100
User-agent: KMail/1.9.7

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' 
-DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' 
-DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  
-I. -I./include -I./lib   -O2 -march=athlon64 -fomit-frame-pointer -pipe
uname output: Linux whatnow 2.6.22-gentoo-r9 #4 SMP Tue Nov 13 23:43:43 CET 
2007 x86_64 AMD Athlon(tm) X2 Dual Core Processor BE-2300 AuthenticAMD 
Machine Type: x86_64-pc-linux-gnu

Bash Version: 3.2
Patch Level: 17
Release Status: release

        There's a formatting error in the man page for bash, leading to 
underlining of every word for some sentences.

        "man bash"
        "/longest match of"
        The bug appears in the next sentence.  (EXPANSION -> Parameter 
Expansion -> 

        This might fix it, I don't know *roff, but I guess it might work.

--- bash.1~     2007-11-29 20:42:55.000000000 +0100
+++ bash.1      2007-11-29 20:44:35.000000000 +0100
@@ -2539,7 +2539,7 @@
 pathname expansion.
 \fIParameter\fP is expanded and the longest match of \fIpattern\fP
 against its value is replaced with \fIstring\fP.
-If \Ipattern\fP begins with \fB/\fP, all matches of \fIpattern\fP are
+If \fIpattern\fP begins with \fB/\fP, all matches of \fIpattern\fP are
 replaced with \fIstring\fP.  Normally only the first match is replaced.
 If \fIpattern\fP begins with \fB#\fP, it must match at the beginning
 of the expanded value of \fIparameter\fP.

I hope this helped you a bit

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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