Fixes: $ nroff -rLL=80n -man -Tascii doc/bash.1 | grep -E '(FUNC|INPU)-' ists only when a shell function is executing. Assignments to FUNC- BASH_SOURCE to describe the call stack. For instance, ${FUNC- inputrc file). The name of this file is taken from the value of the INPU-
Also address a similar case noted when typesetting for PDF. --- doc/bash.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/bash.1 b/doc/bash.1 index f44d156e..2031de7b 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -1384,7 +1384,7 @@ .SH PARAMETERS .BR alias , .BR declare , .BR typeset , -.BR export , +.BR \%export , .BR readonly , and .B local @@ -1988,7 +1988,7 @@ .SS "Shell Variables" This variable exists only when a shell function is executing. Assignments to .SM -.B FUNCNAME +.B \%FUNCNAME have no effect. If .SM @@ -1999,7 +1999,7 @@ .SS "Shell Variables" This variable can be used with \fBBASH_LINENO\fP and \fBBASH_SOURCE\fP. Each element of \fBFUNCNAME\fP has corresponding elements in \fBBASH_LINENO\fP and \fBBASH_SOURCE\fP to describe the call stack. -For instance, \fB${FUNCNAME[\fP\fI$i\fP\fB]}\fP was called from the file +For instance, \fB\%${FUNCNAME[\fP\fI$i\fP\fB]}\fP was called from the file \fB${BASH_SOURCE[\fP\fI$i+1\fP\fB]}\fP at line number \fB${BASH_LINENO[\fP\fI$i\fP\fB]}\fP. The \fBcaller\fP builtin displays the current call stack using this @@ -6401,7 +6401,7 @@ .SS "Readline Initialization" file (the \fIinputrc\fP file). The name of this file is taken from the value of the .SM -.B INPUTRC +.B \%INPUTRC shell variable. If that variable is unset, the default is .FN \*~/.inputrc . -- 2.30.2
signature.asc
Description: PGP signature