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


Groups > gnu.bash.bug > #15085 > unrolled thread

man page minor correction

Started byEdward Huff <ejhuff@gmail.com>
First post2019-07-07 13:05 -0400
Last post2019-07-07 13:05 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#15085 — man page minor correction

FromEdward Huff <ejhuff@gmail.com>
Date2019-07-07 13:05 -0400
Subjectman page minor correction
Message-ID<mailman.395.1562519146.2688.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web