[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
man page minor correction
From: |
Edward Huff |
Subject: |
man page minor correction |
Date: |
Sun, 7 Jul 2019 13:05:29 -0400 |
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
- man page minor correction,
Edward Huff <=