fix export environment if a local variable inherits the export attribute from a variable with the same name at a previous scope; changes to help builtin and glob pattern arguments; fix for fpurge declaration in a source file; man page typesetting updates

This commit is contained in:
Chet Ramey
2025-11-19 10:18:54 -05:00
parent 2fd02c8387
commit bcac47f08a
10 changed files with 67 additions and 32 deletions
+4 -3
View File
@@ -5338,7 +5338,7 @@ special builtins.
The @option{-f} option means to load the new builtin command @var{name}
from shared object @var{filename}, on systems that support dynamic loading.
If @var{filename} does not contain a slash.
If @var{filename} does not contain a slash,
Bash will use the value of the @env{BASH_LOADABLES_PATH} variable as a
colon-separated list of directories in which to search for @var{filename}.
The default for @env{BASH_LOADABLES_PATH} is system-dependent,
@@ -8941,8 +8941,9 @@ Remove the @var{N}th directory (counting from the right of the
list printed by @code{dirs}), starting with zero, from the stack.
@end table
If the top element of the directory stack is modified, and
the @option{-n} option was not supplied, @code{popd} uses the @code{cd}
If the top element of the directory stack is modified,
and the @option{-n} option was not supplied,
@code{popd} uses the @code{cd}
builtin to change to the directory at the top of the stack.
If the @code{cd} fails, @code{popd} returns a non-zero value.