mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 03:40:50 +02:00
change redisplay to handle some cases where the line consumes more than the number of physical screen lines; add regerror() error messages if regular expression compilation fails; make sure active region readline variables are displayed with bind -v; partial fix for bind -x and commands containing quoting characters
This commit is contained in:
+11
-1
@@ -5376,6 +5376,8 @@ parameters, or to display the names and values of shell variables.
|
||||
@example
|
||||
set [-abefhkmnptuvxBCEHPT] [-o @var{option-name}] [--] [-] [@var{argument} @dots{}]
|
||||
set [+abefhkmnptuvxBCEHPT] [+o @var{option-name}] [--] [-] [@var{argument} @dots{}]
|
||||
set -o
|
||||
set +o
|
||||
@end example
|
||||
|
||||
If no options or arguments are supplied, @code{set} displays the names
|
||||
@@ -5456,7 +5458,15 @@ This option is ignored by interactive shells.
|
||||
|
||||
@item -o @var{option-name}
|
||||
|
||||
Set the option corresponding to @var{option-name}:
|
||||
Set the option corresponding to @var{option-name}.
|
||||
If @option{-o} is supplied with no @var{option-name},
|
||||
@code{set} prints the current shell options settings.
|
||||
If @option{+o} is supplied with no @var{option-name},
|
||||
@code{set} prints a series of
|
||||
@code{set}
|
||||
commands to recreate the current option settings
|
||||
on the standard output.
|
||||
Valid option names are:
|
||||
|
||||
@table @code
|
||||
@item allexport
|
||||
|
||||
Reference in New Issue
Block a user