fix for incomplete multibyte characters in pasted input; fix for syntax errors while entering compound assignments; fix for jobs not removing jobs from the list in a SIGCHLD trap; fix for PS0 that contains a command substitution after interactive shell reads EOF; fix for non-interactive shell reading from stdin and evaling a command that dups stdin

This commit is contained in:
Chet Ramey
2023-05-04 11:19:43 -04:00
parent 23935dbe85
commit 896df2874a
16 changed files with 465 additions and 300 deletions
+129 -125
View File
@@ -5581,6 +5581,10 @@ Variables::).
For example, a value of '-mtime' sorts the results in descending
order by modification time (newest first).
A sort specifier of 'nosort' disables sorting completely; the
results are returned in the order they are read from the file
system,.
If the sort specifier is missing, it defaults to NAME, so a value
of '+' is equivalent to the null string, and a value of '-' sorts
by name in descending order.
@@ -12194,57 +12198,57 @@ D.3 Parameter and Variable Index
* FUNCNEST: Bash Variables. (line 343)
* GLOBIGNORE: Bash Variables. (line 348)
* GLOBSORT: Bash Variables. (line 355)
* GROUPS: Bash Variables. (line 377)
* histchars: Bash Variables. (line 383)
* HISTCMD: Bash Variables. (line 398)
* HISTCONTROL: Bash Variables. (line 404)
* HISTFILE: Bash Variables. (line 420)
* HISTFILESIZE: Bash Variables. (line 424)
* HISTIGNORE: Bash Variables. (line 435)
* GROUPS: Bash Variables. (line 381)
* histchars: Bash Variables. (line 387)
* HISTCMD: Bash Variables. (line 402)
* HISTCONTROL: Bash Variables. (line 408)
* HISTFILE: Bash Variables. (line 424)
* HISTFILESIZE: Bash Variables. (line 428)
* HISTIGNORE: Bash Variables. (line 439)
* history-preserve-point: Readline Init File Syntax.
(line 211)
* history-size: Readline Init File Syntax.
(line 217)
* HISTSIZE: Bash Variables. (line 455)
* HISTTIMEFORMAT: Bash Variables. (line 462)
* HISTSIZE: Bash Variables. (line 459)
* HISTTIMEFORMAT: Bash Variables. (line 466)
* HOME: Bourne Shell Variables.
(line 13)
* horizontal-scroll-mode: Readline Init File Syntax.
(line 226)
* HOSTFILE: Bash Variables. (line 470)
* HOSTNAME: Bash Variables. (line 481)
* HOSTTYPE: Bash Variables. (line 484)
* HOSTFILE: Bash Variables. (line 474)
* HOSTNAME: Bash Variables. (line 485)
* HOSTTYPE: Bash Variables. (line 488)
* IFS: Bourne Shell Variables.
(line 18)
* IGNOREEOF: Bash Variables. (line 487)
* IGNOREEOF: Bash Variables. (line 491)
* input-meta: Readline Init File Syntax.
(line 235)
* INPUTRC: Bash Variables. (line 497)
* INSIDE_EMACS: Bash Variables. (line 501)
* INPUTRC: Bash Variables. (line 501)
* INSIDE_EMACS: Bash Variables. (line 505)
* isearch-terminators: Readline Init File Syntax.
(line 245)
* keymap: Readline Init File Syntax.
(line 252)
* LANG: Creating Internationalized Scripts.
(line 51)
* LANG <1>: Bash Variables. (line 507)
* LC_ALL: Bash Variables. (line 511)
* LC_COLLATE: Bash Variables. (line 515)
* LC_CTYPE: Bash Variables. (line 522)
* LANG <1>: Bash Variables. (line 511)
* LC_ALL: Bash Variables. (line 515)
* LC_COLLATE: Bash Variables. (line 519)
* LC_CTYPE: Bash Variables. (line 526)
* LC_MESSAGES: Creating Internationalized Scripts.
(line 51)
* LC_MESSAGES <1>: Bash Variables. (line 527)
* LC_NUMERIC: Bash Variables. (line 531)
* LC_TIME: Bash Variables. (line 535)
* LINENO: Bash Variables. (line 539)
* LINES: Bash Variables. (line 544)
* MACHTYPE: Bash Variables. (line 550)
* LC_MESSAGES <1>: Bash Variables. (line 531)
* LC_NUMERIC: Bash Variables. (line 535)
* LC_TIME: Bash Variables. (line 539)
* LINENO: Bash Variables. (line 543)
* LINES: Bash Variables. (line 548)
* MACHTYPE: Bash Variables. (line 554)
* MAIL: Bourne Shell Variables.
(line 22)
* MAILCHECK: Bash Variables. (line 554)
* MAILCHECK: Bash Variables. (line 558)
* MAILPATH: Bourne Shell Variables.
(line 27)
* MAPFILE: Bash Variables. (line 562)
* MAPFILE: Bash Variables. (line 566)
* mark-modified-lines: Readline Init File Syntax.
(line 282)
* mark-symlinked-directories: Readline Init File Syntax.
@@ -12255,46 +12259,46 @@ D.3 Parameter and Variable Index
(line 299)
* meta-flag: Readline Init File Syntax.
(line 235)
* OLDPWD: Bash Variables. (line 566)
* OLDPWD: Bash Variables. (line 570)
* OPTARG: Bourne Shell Variables.
(line 34)
* OPTERR: Bash Variables. (line 569)
* OPTERR: Bash Variables. (line 573)
* OPTIND: Bourne Shell Variables.
(line 38)
* OSTYPE: Bash Variables. (line 573)
* OSTYPE: Bash Variables. (line 577)
* output-meta: Readline Init File Syntax.
(line 304)
* page-completions: Readline Init File Syntax.
(line 312)
* PATH: Bourne Shell Variables.
(line 42)
* PIPESTATUS: Bash Variables. (line 576)
* POSIXLY_CORRECT: Bash Variables. (line 581)
* PPID: Bash Variables. (line 591)
* PROMPT_COMMAND: Bash Variables. (line 595)
* PROMPT_DIRTRIM: Bash Variables. (line 601)
* PS0: Bash Variables. (line 607)
* PIPESTATUS: Bash Variables. (line 580)
* POSIXLY_CORRECT: Bash Variables. (line 585)
* PPID: Bash Variables. (line 595)
* PROMPT_COMMAND: Bash Variables. (line 599)
* PROMPT_DIRTRIM: Bash Variables. (line 605)
* PS0: Bash Variables. (line 611)
* PS1: Bourne Shell Variables.
(line 48)
* PS2: Bourne Shell Variables.
(line 53)
* PS3: Bash Variables. (line 612)
* PS4: Bash Variables. (line 617)
* PWD: Bash Variables. (line 625)
* RANDOM: Bash Variables. (line 628)
* READLINE_ARGUMENT: Bash Variables. (line 634)
* READLINE_LINE: Bash Variables. (line 638)
* READLINE_MARK: Bash Variables. (line 642)
* READLINE_POINT: Bash Variables. (line 648)
* REPLY: Bash Variables. (line 652)
* PS3: Bash Variables. (line 616)
* PS4: Bash Variables. (line 621)
* PWD: Bash Variables. (line 629)
* RANDOM: Bash Variables. (line 632)
* READLINE_ARGUMENT: Bash Variables. (line 638)
* READLINE_LINE: Bash Variables. (line 642)
* READLINE_MARK: Bash Variables. (line 646)
* READLINE_POINT: Bash Variables. (line 652)
* REPLY: Bash Variables. (line 656)
* revert-all-at-newline: Readline Init File Syntax.
(line 322)
* search-ignore-case: Readline Init File Syntax.
(line 329)
* SECONDS: Bash Variables. (line 655)
* SHELL: Bash Variables. (line 664)
* SHELLOPTS: Bash Variables. (line 669)
* SHLVL: Bash Variables. (line 678)
* SECONDS: Bash Variables. (line 659)
* SHELL: Bash Variables. (line 668)
* SHELLOPTS: Bash Variables. (line 673)
* SHLVL: Bash Variables. (line 682)
* show-all-if-ambiguous: Readline Init File Syntax.
(line 334)
* show-all-if-unmodified: Readline Init File Syntax.
@@ -12303,15 +12307,15 @@ D.3 Parameter and Variable Index
(line 349)
* skip-completed-text: Readline Init File Syntax.
(line 355)
* SRANDOM: Bash Variables. (line 683)
* SRANDOM: Bash Variables. (line 687)
* TEXTDOMAIN: Creating Internationalized Scripts.
(line 51)
* TEXTDOMAINDIR: Creating Internationalized Scripts.
(line 51)
* TIMEFORMAT: Bash Variables. (line 692)
* TMOUT: Bash Variables. (line 730)
* TMPDIR: Bash Variables. (line 742)
* UID: Bash Variables. (line 746)
* TIMEFORMAT: Bash Variables. (line 696)
* TMOUT: Bash Variables. (line 734)
* TMPDIR: Bash Variables. (line 746)
* UID: Bash Variables. (line 750)
* vi-cmd-mode-string: Readline Init File Syntax.
(line 368)
* vi-ins-mode-string: Readline Init File Syntax.
@@ -12763,77 +12767,77 @@ Node: Special Builtins220857
Node: Shell Variables221833
Node: Bourne Shell Variables222267
Node: Bash Variables224368
Node: Bash Features258281
Node: Invoking Bash259291
Node: Bash Startup Files265301
Node: Interactive Shells270429
Node: What is an Interactive Shell?270837
Node: Is this Shell Interactive?271483
Node: Interactive Shell Behavior272295
Node: Bash Conditional Expressions275921
Node: Shell Arithmetic280560
Node: Aliases283518
Node: Arrays286409
Node: The Directory Stack292969
Node: Directory Stack Builtins293750
Node: Controlling the Prompt298007
Node: The Restricted Shell300969
Node: Bash POSIX Mode303576
Node: Shell Compatibility Mode319366
Node: Job Control327607
Node: Job Control Basics328064
Node: Job Control Builtins333063
Node: Job Control Variables338855
Node: Command Line Editing340008
Node: Introduction and Notation341676
Node: Readline Interaction343296
Node: Readline Bare Essentials344484
Node: Readline Movement Commands346270
Node: Readline Killing Commands347227
Node: Readline Arguments349145
Node: Searching350186
Node: Readline Init File352369
Node: Readline Init File Syntax353627
Node: Conditional Init Constructs377415
Node: Sample Init File381608
Node: Bindable Readline Commands384729
Node: Commands For Moving385930
Node: Commands For History387978
Node: Commands For Text392969
Node: Commands For Killing396615
Node: Numeric Arguments399645
Node: Commands For Completion400781
Node: Keyboard Macros404969
Node: Miscellaneous Commands405654
Node: Readline vi Mode411689
Node: Programmable Completion412593
Node: Programmable Completion Builtins420370
Node: A Programmable Completion Example431355
Node: Using History Interactively436600
Node: Bash History Facilities437281
Node: Bash History Builtins440283
Node: History Interaction445304
Node: Event Designators448921
Node: Word Designators450272
Node: Modifiers452029
Node: Installing Bash453834
Node: Basic Installation454968
Node: Compilers and Options458687
Node: Compiling For Multiple Architectures459425
Node: Installation Names461114
Node: Specifying the System Type463220
Node: Sharing Defaults463934
Node: Operation Controls464604
Node: Optional Features465559
Node: Reporting Bugs476775
Node: Major Differences From The Bourne Shell478106
Node: GNU Free Documentation License494952
Node: Indexes520126
Node: Builtin Index520577
Node: Reserved Word Index527401
Node: Variable Index529846
Node: Function Index546831
Node: Concept Index560612
Node: Bash Features258430
Node: Invoking Bash259440
Node: Bash Startup Files265450
Node: Interactive Shells270578
Node: What is an Interactive Shell?270986
Node: Is this Shell Interactive?271632
Node: Interactive Shell Behavior272444
Node: Bash Conditional Expressions276070
Node: Shell Arithmetic280709
Node: Aliases283667
Node: Arrays286558
Node: The Directory Stack293118
Node: Directory Stack Builtins293899
Node: Controlling the Prompt298156
Node: The Restricted Shell301118
Node: Bash POSIX Mode303725
Node: Shell Compatibility Mode319515
Node: Job Control327756
Node: Job Control Basics328213
Node: Job Control Builtins333212
Node: Job Control Variables339004
Node: Command Line Editing340157
Node: Introduction and Notation341825
Node: Readline Interaction343445
Node: Readline Bare Essentials344633
Node: Readline Movement Commands346419
Node: Readline Killing Commands347376
Node: Readline Arguments349294
Node: Searching350335
Node: Readline Init File352518
Node: Readline Init File Syntax353776
Node: Conditional Init Constructs377564
Node: Sample Init File381757
Node: Bindable Readline Commands384878
Node: Commands For Moving386079
Node: Commands For History388127
Node: Commands For Text393118
Node: Commands For Killing396764
Node: Numeric Arguments399794
Node: Commands For Completion400930
Node: Keyboard Macros405118
Node: Miscellaneous Commands405803
Node: Readline vi Mode411838
Node: Programmable Completion412742
Node: Programmable Completion Builtins420519
Node: A Programmable Completion Example431504
Node: Using History Interactively436749
Node: Bash History Facilities437430
Node: Bash History Builtins440432
Node: History Interaction445453
Node: Event Designators449070
Node: Word Designators450421
Node: Modifiers452178
Node: Installing Bash453983
Node: Basic Installation455117
Node: Compilers and Options458836
Node: Compiling For Multiple Architectures459574
Node: Installation Names461263
Node: Specifying the System Type463369
Node: Sharing Defaults464083
Node: Operation Controls464753
Node: Optional Features465708
Node: Reporting Bugs476924
Node: Major Differences From The Bourne Shell478255
Node: GNU Free Documentation License495101
Node: Indexes520275
Node: Builtin Index520726
Node: Reserved Word Index527550
Node: Variable Index529995
Node: Function Index546980
Node: Concept Index560761

End Tag Table