commit bash-20200117 snapshot

This commit is contained in:
Chet Ramey
2020-01-21 09:46:21 -05:00
parent abfcfa4e6f
commit 9831556ed0
26 changed files with 503 additions and 430 deletions
+83 -85
View File
@@ -6734,120 +6734,118 @@ startup files.
read with the '.' or 'source' builtins, or in a string processed by
the 'eval' builtin.
30. Process substitution is not available.
31. While variable indirection is available, it may not be applied to
30. While variable indirection is available, it may not be applied to
the '#' and '?' special parameters.
32. When expanding the '*' special parameter in a pattern context
31. When expanding the '*' special parameter in a pattern context
where the expansion is double-quoted does not treat the '$*' as if
it were double-quoted.
33. Assignment statements preceding POSIX special builtins persist in
32. Assignment statements preceding POSIX special builtins persist in
the shell environment after the builtin completes.
34. Assignment statements preceding shell function calls persist in
33. Assignment statements preceding shell function calls persist in
the shell environment after the function returns, as if a POSIX
special builtin command had been executed.
35. The 'command' builtin does not prevent builtins that take
34. The 'command' builtin does not prevent builtins that take
assignment statements as arguments from expanding them as
assignment statements; when not in POSIX mode, assignment builtins
lose their assignment statement expansion properties when preceded
by 'command'.
36. The 'bg' builtin uses the required format to describe each job
35. The 'bg' builtin uses the required format to describe each job
placed in the background, which does not include an indication of
whether the job is the current or previous job.
37. The output of 'kill -l' prints all the signal names on a single
36. The output of 'kill -l' prints all the signal names on a single
line, separated by spaces, without the 'SIG' prefix.
38. The 'kill' builtin does not accept signal names with a 'SIG'
37. The 'kill' builtin does not accept signal names with a 'SIG'
prefix.
39. The 'export' and 'readonly' builtin commands display their output
38. The 'export' and 'readonly' builtin commands display their output
in the format required by POSIX.
40. The 'trap' builtin displays signal names without the leading
39. The 'trap' builtin displays signal names without the leading
'SIG'.
41. The 'trap' builtin doesn't check the first argument for a possible
40. The 'trap' builtin doesn't check the first argument for a possible
signal specification and revert the signal handling to the original
disposition if it is, unless that argument consists solely of
digits and is a valid signal number. If users want to reset the
handler for a given signal to the original disposition, they should
use '-' as the first argument.
42. The '.' and 'source' builtins do not search the current directory
41. The '.' and 'source' builtins do not search the current directory
for the filename argument if it is not found by searching 'PATH'.
43. Enabling POSIX mode has the effect of setting the
42. Enabling POSIX mode has the effect of setting the
'inherit_errexit' option, so subshells spawned to execute command
substitutions inherit the value of the '-e' option from the parent
shell. When the 'inherit_errexit' option is not enabled, Bash
clears the '-e' option in such subshells.
44. Enabling POSIX mode has the effect of setting the 'shift_verbose'
43. Enabling POSIX mode has the effect of setting the 'shift_verbose'
option, so numeric arguments to 'shift' that exceed the number of
positional parameters will result in an error message.
45. When the 'alias' builtin displays alias definitions, it does not
44. When the 'alias' builtin displays alias definitions, it does not
display them with a leading 'alias ' unless the '-p' option is
supplied.
46. When the 'set' builtin is invoked without options, it does not
45. When the 'set' builtin is invoked without options, it does not
display shell function names and definitions.
47. When the 'set' builtin is invoked without options, it displays
46. When the 'set' builtin is invoked without options, it displays
variable values without quotes, unless they contain shell
metacharacters, even if the result contains nonprinting characters.
48. When the 'cd' builtin is invoked in LOGICAL mode, and the pathname
47. When the 'cd' builtin is invoked in LOGICAL mode, and the pathname
constructed from '$PWD' and the directory name supplied as an
argument does not refer to an existing directory, 'cd' will fail
instead of falling back to PHYSICAL mode.
49. When the 'cd' builtin cannot change a directory because the length
48. When the 'cd' builtin cannot change a directory because the length
of the pathname constructed from '$PWD' and the directory name
supplied as an argument exceeds PATH_MAX when all symbolic links
are expanded, 'cd' will fail instead of attempting to use only the
supplied directory name.
50. The 'pwd' builtin verifies that the value it prints is the same as
49. The 'pwd' builtin verifies that the value it prints is the same as
the current directory, even if it is not asked to check the file
system with the '-P' option.
51. When listing the history, the 'fc' builtin does not include an
50. When listing the history, the 'fc' builtin does not include an
indication of whether or not a history entry has been modified.
52. The default editor used by 'fc' is 'ed'.
51. The default editor used by 'fc' is 'ed'.
53. The 'type' and 'command' builtins will not report a non-executable
52. The 'type' and 'command' builtins will not report a non-executable
file as having been found, though the shell will attempt to execute
such a file if it is the only so-named file found in '$PATH'.
54. The 'vi' editing mode will invoke the 'vi' editor directly when
53. The 'vi' editing mode will invoke the 'vi' editor directly when
the 'v' command is run, instead of checking '$VISUAL' and
'$EDITOR'.
55. When the 'xpg_echo' option is enabled, Bash does not attempt to
54. When the 'xpg_echo' option is enabled, Bash does not attempt to
interpret any arguments to 'echo' as options. Each argument is
displayed, after escape characters are converted.
56. The 'ulimit' builtin uses a block size of 512 bytes for the '-c'
55. The 'ulimit' builtin uses a block size of 512 bytes for the '-c'
and '-f' options.
57. The arrival of 'SIGCHLD' when a trap is set on 'SIGCHLD' does not
56. The arrival of 'SIGCHLD' when a trap is set on 'SIGCHLD' does not
interrupt the 'wait' builtin and cause it to return immediately.
The trap command is run once for each child that exits.
58. The 'read' builtin may be interrupted by a signal for which a trap
57. The 'read' builtin may be interrupted by a signal for which a trap
has been set. If Bash receives a trapped signal while executing
'read', the trap handler executes and 'read' returns an exit status
greater than 128.
59. Bash removes an exited background process's status from the list
58. Bash removes an exited background process's status from the list
of such statuses after the 'wait' builtin is used to obtain it.
There is other POSIX behavior that Bash does not implement by default
@@ -11846,60 +11844,60 @@ Node: Directory Stack Builtins273455
Node: Controlling the Prompt276423
Node: The Restricted Shell279344
Node: Bash POSIX Mode281826
Node: Job Control292759
Node: Job Control Basics293219
Node: Job Control Builtins298183
Node: Job Control Variables303329
Node: Command Line Editing304485
Node: Introduction and Notation306156
Node: Readline Interaction307779
Node: Readline Bare Essentials308970
Node: Readline Movement Commands310753
Node: Readline Killing Commands311713
Node: Readline Arguments313631
Node: Searching314675
Node: Readline Init File316861
Node: Readline Init File Syntax318120
Node: Conditional Init Constructs338650
Node: Sample Init File342846
Node: Bindable Readline Commands345963
Node: Commands For Moving347167
Node: Commands For History349026
Node: Commands For Text353321
Node: Commands For Killing356709
Node: Numeric Arguments359524
Node: Commands For Completion360663
Node: Keyboard Macros364854
Node: Miscellaneous Commands365541
Node: Readline vi Mode371494
Node: Programmable Completion372401
Node: Programmable Completion Builtins380181
Node: A Programmable Completion Example390876
Node: Using History Interactively396123
Node: Bash History Facilities396807
Node: Bash History Builtins399812
Node: History Interaction404344
Node: Event Designators407964
Node: Word Designators409318
Node: Modifiers411078
Node: Installing Bash412889
Node: Basic Installation414026
Node: Compilers and Options417284
Node: Compiling For Multiple Architectures418025
Node: Installation Names419718
Node: Specifying the System Type420536
Node: Sharing Defaults421252
Node: Operation Controls421925
Node: Optional Features422883
Node: Reporting Bugs433401
Node: Major Differences From The Bourne Shell434595
Node: GNU Free Documentation License451447
Node: Indexes476624
Node: Builtin Index477078
Node: Reserved Word Index483905
Node: Variable Index486353
Node: Function Index502177
Node: Concept Index515616
Node: Job Control292713
Node: Job Control Basics293173
Node: Job Control Builtins298137
Node: Job Control Variables303283
Node: Command Line Editing304439
Node: Introduction and Notation306110
Node: Readline Interaction307733
Node: Readline Bare Essentials308924
Node: Readline Movement Commands310707
Node: Readline Killing Commands311667
Node: Readline Arguments313585
Node: Searching314629
Node: Readline Init File316815
Node: Readline Init File Syntax318074
Node: Conditional Init Constructs338604
Node: Sample Init File342800
Node: Bindable Readline Commands345917
Node: Commands For Moving347121
Node: Commands For History348980
Node: Commands For Text353275
Node: Commands For Killing356663
Node: Numeric Arguments359478
Node: Commands For Completion360617
Node: Keyboard Macros364808
Node: Miscellaneous Commands365495
Node: Readline vi Mode371448
Node: Programmable Completion372355
Node: Programmable Completion Builtins380135
Node: A Programmable Completion Example390830
Node: Using History Interactively396077
Node: Bash History Facilities396761
Node: Bash History Builtins399766
Node: History Interaction404298
Node: Event Designators407918
Node: Word Designators409272
Node: Modifiers411032
Node: Installing Bash412843
Node: Basic Installation413980
Node: Compilers and Options417238
Node: Compiling For Multiple Architectures417979
Node: Installation Names419672
Node: Specifying the System Type420490
Node: Sharing Defaults421206
Node: Operation Controls421879
Node: Optional Features422837
Node: Reporting Bugs433355
Node: Major Differences From The Bourne Shell434549
Node: GNU Free Documentation License451401
Node: Indexes476578
Node: Builtin Index477032
Node: Reserved Word Index483859
Node: Variable Index486307
Node: Function Index502131
Node: Concept Index515570

End Tag Table