bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few suggestions for the GNU Manual


From: Chet Ramey
Subject: Re: A few suggestions for the GNU Manual
Date: Tue, 1 Aug 2023 11:11:01 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 7/31/23 12:59 PM, Wiley Young wrote:
Hi,
  Regarding the "Invoking Bash" page,
https://www.gnu.org/software/bash/manual/html_node/Invoking-Bash.html

Thanks for the report.

It might be more consistent and therefore perhaps more clear for all of the
newbies out there if the description of "--restricted" also began with
"Equivalent to -r," as the very next description does.
"--restricted

This is reasonable.


Also, a few lines later, there's the phrase, "There are several
single-character options that may be supplied at invocation which are not
available with the set builtin."

Within that list there's the item,
"-r

Make the shell a restricted shell (see The Restricted Shell
<https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.html>
)."
However, restricted mode is listed on the "Set Builtin" page:

Yes, I keep meaning to take it out of the set builtin; no one else,
including POSIX, has it there, and it doesn't really make much sense.
But the restricted shell is so little-used I never get around to it.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]