Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Edward Huff Newsgroups: gnu.bash.bug Subject: man page minor correction Date: Sun, 7 Jul 2019 13:05:29 -0400 Lines: 108 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1562519147 6767 209.51.188.17 (7 Jul 2019 17:05:47 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=O8cOSh/babElJyQacTOQ2dsCg4BvRCe9yEQc9rbJiL8=; b=DgRrJbISUlmbUEjKow5haMP1U8jN8lK1Owk26ZLp+aw9BWOlXlvk0BdAvfcg6CEnvf GUfL+jYGbw877RMqkRpW/kzDXv+qle++dZcWjUfHAyOERMgNvm8f5RHrdA0qngiuM/Fy ANvlpGk1Kl+aG52dmcODwUQca3u2NGo1tvq06/j5MhC8XPsP2NIUOm1d49eGGSF3A53a zs80z5aOuN9DjVrH5wPtwWF6UvFBSPwfVSOqHhydFoWC9m+O3vrEBc6NEqYdTgNlHJPk fSh4It9D3cd3tmN6Lfsb0hC/ZEibIfpYZST1xUdOZv9LvdWRYd/8UcXmUzGR+SjSBAqA jPTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=O8cOSh/babElJyQacTOQ2dsCg4BvRCe9yEQc9rbJiL8=; b=iWf/jn1rGjEf3GyWkLYDvnI8dNNzJMUeTX7QQiKsPI0e6Rdhf3JPkrqhVfIhm1qMQv jk416Wg3vAM1z32++tE+gm3FcyWPWqa0jxOJRw+X8fAOaFQdtaUlix0MvizCwTCCQkcz o+uPvcCv/S5ziK/WcllJ5sGxSwCZWpa5nM/Q1RFcab41xv7sc5fDMBfk4s+f6VCDDwl+ C86aEJzIwP1jRO2i15XX9PcfQlWwSBB5na8rbj+MoQJklSAe8eSrudys1aStleGLiTdY 1OddKot7W43CVCsDa0Opl34XY0vJXu0g6ZCxd+NFNG473pz/ZiMP2wIrzFYLqAZtHEZZ jrXg== X-Gm-Message-State: APjAAAVP8v6sA+4aIl78K48avdBUYNLXfo/yVdd0DjvkC4J6rcOlkC1F xf4p/RCbANzvGNp6gTkq2/FMEOf4aIz7FTsTmzoYPi8= X-Google-Smtp-Source: APXvYqzUq2o5G32Gu7/AomwX3sYqyocc3PsSyzg7Sgnsw/rE102HY5IEn86b3oRV8+D8Urb/Bw4f5l8/ztJzFcmt868= X-Received: by 2002:a6b:6107:: with SMTP id v7mr13682208iob.154.1562519140864; Sun, 07 Jul 2019 10:05:40 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2e X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.bash.bug:15085 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