Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15085

man page minor correction

From Edward Huff <ejhuff@gmail.com>
Newsgroups gnu.bash.bug
Subject man page minor correction
Date 2019-07-07 13:05 -0400
Message-ID <mailman.395.1562519146.2688.bug-bash@gnu.org> (permalink)
References <CA+1SQ8dQ+LhjM74byQKYAwcNwHP24u9URNWEm+FSpoyUgkksrw@mail.gmail.com>

Show all headers | View raw


Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-Wno-parentheses -Wno-format-security
uname output: Linux dellxps.mainst 5.1.16-300.fc30.x86_64 #1 SMP Wed Jul 3
15:06:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 5.0
Patch Level: 7
Release Status: release

Description:
        Incomplete list of symbols that "lose their special properties"

Repeat-By:

man bash
/special properties
n
n
n
...


Fix:
$ zgrep -B2 'its special properties' /usr/share/man/man1/bash.1.gz | grep
'^\.B'
.B BASHPID
.B BASH_ALIASES
.B BASH_ARGV0
.B BASH_CMDS
.B COMP_WORDBREAKS
.B DIRSTACK
.B EPOCHREALTIME
.B EPOCHSECONDS
.B FUNCNAME
.B GROUPS
.B HISTCMD
.B LINENO
.B RANDOM
.B SECONDS
$ zgrep -B20 'their special properties' /usr/share/man/man1/bash.1.gz
Each unset variable or function is removed from the environment
passed to subsequent commands.
If any of
.SM
.BR COMP_WORDBREAKS ,
.SM
.BR RANDOM ,
.SM
.BR SECONDS ,
.SM
.BR LINENO ,
.SM
.BR HISTCMD ,
.SM
.BR FUNCNAME ,
.SM
.BR GROUPS ,
or
.SM
.B DIRSTACK
are unset, they lose their special properties, even if they are


Replace the above lines with

Each unset variable or function is removed from the environment
passed to subsequent commands.
If any of
.SM
.BR BASHPID ,
.SM
.BR BASH_ALIASES ,
.SM
.BR BASH_ARGV0 ,
.SM
.BR BASH_CMDS ,
.SM
.BR COMP_WORDBREAKS ,
.SM
.BR DIRSTACK ,
.SM
.BR EPOCHREALTIME ,
.SM
.BR EPOCHSECONDS ,
.SM
.BR FUNCNAME ,
.SM
.BR GROUPS ,
.SM
.BR HISTCMD ,
.SM
.BR LINENO ,
.SM
.BR RANDOM ,
or
.SM
.B SECONDS ,
are unset, they lose their special properties, even if they are

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

man page minor correction Edward Huff <ejhuff@gmail.com> - 2019-07-07 13:05 -0400

csiph-web