Hi,
 Regarding the "Invoking Bash" page,
https://www.gnu.org/software/bash/manual/html_node/Invoking-Bash.html

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

Make the shell a restricted shell (see The Restricted Shell
<https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.html>).

--verbose

Equivalent to -v. Print shell input lines as they’re read."

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:
https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html

"-r

Enable restricted shell mode. This option cannot be unset once it has been
set."
Cheers,
Wiley

Reply via email to