internal fixes for declare; additional tests for broken wcwidth()

This commit is contained in:
Chet Ramey
2024-02-27 14:40:31 -05:00
parent 43ecbeb31e
commit 9b2a8c6d65
13 changed files with 539 additions and 504 deletions
+14 -12
View File
@@ -1263,17 +1263,19 @@ PPAARRAAMMEETTEERRSS
HHIISSTTSSIIZZEE after reading any startup files.
HHIISSTTIIGGNNOORREE
A colon-separated list of patterns used to decide which command
lines should be saved on the history list. Each pattern is an-
chored at the beginning of the line and must match the complete
line (bbaasshh will not implicitly append a "**"). Each pattern is
tested against the line after the checks specified by HHIISSTTCCOONN--
TTRROOLL are applied. In addition to the normal shell pattern
matching characters, "&&" matches the previous history line. A
backslash will escape the "&&"; the backslash is removed before
attempting a match. The second and subsequent lines of a multi-
line compound command are not tested, and are added to the his-
tory regardless of the value of HHIISSTTIIGGNNOORREE. The pattern match-
ing honors the setting of the eexxttgglloobb shell option.
lines should be saved on the history list. If a command line
matches one of the patterns in the value of HHIISSTTIIGGNNOORREE, it is
not saved on the history list. Each pattern is anchored at the
beginning of the line and must match the complete line (bbaasshh
will not implicitly append a "**"). Each pattern is tested
against the line after the checks specified by HHIISSTTCCOONNTTRROOLL are
applied. In addition to the normal shell pattern matching char-
acters, "&&" matches the previous history line. A backslash will
escape the "&&"; the backslash is removed before attempting a
match. The second and subsequent lines of a multi-line compound
command are not tested, and are added to the history regardless
of the value of HHIISSTTIIGGNNOORREE. The pattern matching honors the
setting of the eexxttgglloobb shell option.
HHIISSTTSSIIZZEE
The number of commands to remember in the command history (see
HHIISSTTOORRYY below). If the value is 0, commands are not saved in
@@ -6891,4 +6893,4 @@ BBUUGGSS
There may be only one active coprocess at a time.
GNU Bash 5.3 2024 February 5 _B_A_S_H(1)
GNU Bash 5.3 2024 February 19 _B_A_S_H(1)