[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    formatting typo in bash man page
From:       "Robert M. Day" <dayrm () ornl ! gov>
Date:       2008-10-31 13:00:04
Message-ID: 490B0154.1050307 () ornl ! gov
[Download RAW message or body]


Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS   -I.  -I. -I./include -I./lib 
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe 
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
uname output: Linux compdna3 2.6.18-92.1.13.el5PAE #1 SMP Thu Sep 4 
04:05:54 EDT 2008 i686 i686 i386 GNU/Linux
Machine Type: i686-redhat-linux-gnu

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

Description:
         There is a formatting typo in the bash man page, in the section
         describing the ${parameter/pattern/string} expansion.

Repeat-By:
         Look at the bash man page with `man bash`.

Fix:
	Here is a patch:

--- bash-3.2/doc/bash.1.orig    2008-10-30 15:33:37.000000000 -0400
+++ bash-3.2/doc/bash.1 2008-10-30 15:33:50.000000000 -0400
@@ -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.


["smime.p7s" (application/x-pkcs7-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic