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
@@ -5582,6 +5582,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.
@@ -12195,57 +12199,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.
@@ -12256,46 +12260,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.
@@ -12304,15 +12308,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.
@@ -12764,77 +12768,77 @@ Node: Special Builtins221031
Node: Shell Variables222010
Node: Bourne Shell Variables222447
Node: Bash Variables224551
Node: Bash Features258467
Node: Invoking Bash259480
Node: Bash Startup Files265493
Node: Interactive Shells270624
Node: What is an Interactive Shell?271035
Node: Is this Shell Interactive?271684
Node: Interactive Shell Behavior272499
Node: Bash Conditional Expressions276128
Node: Shell Arithmetic280770
Node: Aliases283731
Node: Arrays286625
Node: The Directory Stack293188
Node: Directory Stack Builtins293972
Node: Controlling the Prompt298232
Node: The Restricted Shell301197
Node: Bash POSIX Mode303807
Node: Shell Compatibility Mode319600
Node: Job Control327844
Node: Job Control Basics328304
Node: Job Control Builtins333306
Node: Job Control Variables339101
Node: Command Line Editing340257
Node: Introduction and Notation341928
Node: Readline Interaction343551
Node: Readline Bare Essentials344742
Node: Readline Movement Commands346531
Node: Readline Killing Commands347491
Node: Readline Arguments349412
Node: Searching350456
Node: Readline Init File352642
Node: Readline Init File Syntax353903
Node: Conditional Init Constructs377694
Node: Sample Init File381890
Node: Bindable Readline Commands385014
Node: Commands For Moving386218
Node: Commands For History388269
Node: Commands For Text393263
Node: Commands For Killing396912
Node: Numeric Arguments399945
Node: Commands For Completion401084
Node: Keyboard Macros405275
Node: Miscellaneous Commands405963
Node: Readline vi Mode412001
Node: Programmable Completion412908
Node: Programmable Completion Builtins420688
Node: A Programmable Completion Example431676
Node: Using History Interactively436924
Node: Bash History Facilities437608
Node: Bash History Builtins440613
Node: History Interaction445637
Node: Event Designators449257
Node: Word Designators450611
Node: Modifiers452371
Node: Installing Bash454179
Node: Basic Installation455316
Node: Compilers and Options459038
Node: Compiling For Multiple Architectures459779
Node: Installation Names461471
Node: Specifying the System Type463580
Node: Sharing Defaults464297
Node: Operation Controls464970
Node: Optional Features465928
Node: Reporting Bugs477147
Node: Major Differences From The Bourne Shell478481
Node: GNU Free Documentation License495330
Node: Indexes520507
Node: Builtin Index520961
Node: Reserved Word Index527788
Node: Variable Index530236
Node: Function Index547224
Node: Concept Index561008
Node: Bash Features258616
Node: Invoking Bash259629
Node: Bash Startup Files265642
Node: Interactive Shells270773
Node: What is an Interactive Shell?271184
Node: Is this Shell Interactive?271833
Node: Interactive Shell Behavior272648
Node: Bash Conditional Expressions276277
Node: Shell Arithmetic280919
Node: Aliases283880
Node: Arrays286774
Node: The Directory Stack293337
Node: Directory Stack Builtins294121
Node: Controlling the Prompt298381
Node: The Restricted Shell301346
Node: Bash POSIX Mode303956
Node: Shell Compatibility Mode319749
Node: Job Control327993
Node: Job Control Basics328453
Node: Job Control Builtins333455
Node: Job Control Variables339250
Node: Command Line Editing340406
Node: Introduction and Notation342077
Node: Readline Interaction343700
Node: Readline Bare Essentials344891
Node: Readline Movement Commands346680
Node: Readline Killing Commands347640
Node: Readline Arguments349561
Node: Searching350605
Node: Readline Init File352791
Node: Readline Init File Syntax354052
Node: Conditional Init Constructs377843
Node: Sample Init File382039
Node: Bindable Readline Commands385163
Node: Commands For Moving386367
Node: Commands For History388418
Node: Commands For Text393412
Node: Commands For Killing397061
Node: Numeric Arguments400094
Node: Commands For Completion401233
Node: Keyboard Macros405424
Node: Miscellaneous Commands406112
Node: Readline vi Mode412150
Node: Programmable Completion413057
Node: Programmable Completion Builtins420837
Node: A Programmable Completion Example431825
Node: Using History Interactively437073
Node: Bash History Facilities437757
Node: Bash History Builtins440762
Node: History Interaction445786
Node: Event Designators449406
Node: Word Designators450760
Node: Modifiers452520
Node: Installing Bash454328
Node: Basic Installation455465
Node: Compilers and Options459187
Node: Compiling For Multiple Architectures459928
Node: Installation Names461620
Node: Specifying the System Type463729
Node: Sharing Defaults464446
Node: Operation Controls465119
Node: Optional Features466077
Node: Reporting Bugs477296
Node: Major Differences From The Bourne Shell478630
Node: GNU Free Documentation License495479
Node: Indexes520656
Node: Builtin Index521110
Node: Reserved Word Index527937
Node: Variable Index530385
Node: Function Index547373
Node: Concept Index561157

End Tag Table