mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 13:10:45 +02:00
fix for printf with broken strtold; fix readline reading specified number of multibyte characters; fix read builtin to deal with invalid utf-8 continuation character as delimiter; turn off -n if supplied at interactive shell invocation
This commit is contained in:
+150
-146
@@ -2,9 +2,9 @@ This is bashref.info, produced by makeinfo version 7.1 from
|
||||
bashref.texi.
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 5.3, 7 August 2024).
|
||||
Bash shell (version 5.3, 16 August 2024).
|
||||
|
||||
This is Edition 5.3, last updated 7 August 2024, of ‘The GNU Bash
|
||||
This is Edition 5.3, last updated 16 August 2024, of ‘The GNU Bash
|
||||
Reference Manual’, for ‘Bash’, Version 5.3.
|
||||
|
||||
Copyright © 1988-2023 Free Software Foundation, Inc.
|
||||
@@ -27,10 +27,10 @@ Bash Features
|
||||
*************
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 5.3, 7 August 2024). The Bash home page is
|
||||
Bash shell (version 5.3, 16 August 2024). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 5.3, last updated 7 August 2024, of ‘The GNU Bash
|
||||
This is Edition 5.3, last updated 16 August 2024, of ‘The GNU Bash
|
||||
Reference Manual’, for ‘Bash’, Version 5.3.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -4229,7 +4229,7 @@ standard.
|
||||
output, character escape sequences, which are converted and copied
|
||||
to the standard output, and format specifications, each of which
|
||||
causes printing of the next successive ARGUMENT. In addition to
|
||||
the standard ‘printf(3)’ format characters ‘csndiouxXeEfFgGaA’,
|
||||
the standard ‘printf(3)’ format characters ‘cCsSndiouxXeEfFgGaA’,
|
||||
‘printf’ interprets the following additional format specifiers:
|
||||
|
||||
‘%b’
|
||||
@@ -4270,7 +4270,8 @@ standard.
|
||||
The %s and %c format specifiers accept an l (long) modifier, which
|
||||
forces them to convert the argument string to a wide-character
|
||||
string and apply any supplied field width and precision in terms of
|
||||
characters, not bytes.
|
||||
characters, not bytes. The %S and %C format specifiers are
|
||||
equivalent to %ls and %lc, respectively.
|
||||
|
||||
Arguments to non-string format specifiers are treated as C language
|
||||
constants, except that a leading plus or minus sign is allowed, and
|
||||
@@ -10664,7 +10665,10 @@ spaces.
|
||||
|
||||
‘%’
|
||||
The first word matched by the most recent ‘?STRING?’ search, if the
|
||||
search string begins with a character that is part of a word.
|
||||
search string begins with a character that is part of a word. By
|
||||
default, searches begin at the end of each line and proceed to the
|
||||
beginning, so the first word matched is the one closest to the end
|
||||
of the line.
|
||||
|
||||
‘X-Y’
|
||||
A range of words; ‘-Y’ abbreviates ‘0-Y’.
|
||||
@@ -12303,8 +12307,8 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 69)
|
||||
* pwd: Bourne Shell Builtins.
|
||||
(line 226)
|
||||
* read: Bash Builtins. (line 524)
|
||||
* readarray: Bash Builtins. (line 630)
|
||||
* read: Bash Builtins. (line 525)
|
||||
* readarray: Bash Builtins. (line 631)
|
||||
* readonly: Bourne Shell Builtins.
|
||||
(line 236)
|
||||
* return: Bourne Shell Builtins.
|
||||
@@ -12313,7 +12317,7 @@ D.1 Index of Shell Builtin Commands
|
||||
* shift: Bourne Shell Builtins.
|
||||
(line 276)
|
||||
* shopt: The Shopt Builtin. (line 9)
|
||||
* source: Bash Builtins. (line 639)
|
||||
* source: Bash Builtins. (line 640)
|
||||
* suspend: Job Control Builtins.
|
||||
(line 122)
|
||||
* test: Bourne Shell Builtins.
|
||||
@@ -12324,12 +12328,12 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 397)
|
||||
* true: Bourne Shell Builtins.
|
||||
(line 459)
|
||||
* type: Bash Builtins. (line 644)
|
||||
* typeset: Bash Builtins. (line 682)
|
||||
* ulimit: Bash Builtins. (line 688)
|
||||
* type: Bash Builtins. (line 645)
|
||||
* typeset: Bash Builtins. (line 683)
|
||||
* ulimit: Bash Builtins. (line 689)
|
||||
* umask: Bourne Shell Builtins.
|
||||
(line 464)
|
||||
* unalias: Bash Builtins. (line 794)
|
||||
* unalias: Bash Builtins. (line 795)
|
||||
* unset: Bourne Shell Builtins.
|
||||
(line 482)
|
||||
* wait: Job Control Builtins.
|
||||
@@ -13007,138 +13011,138 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top898
|
||||
Node: Introduction2836
|
||||
Node: What is Bash?3052
|
||||
Node: What is a shell?4196
|
||||
Node: Definitions6778
|
||||
Node: Basic Shell Features9957
|
||||
Node: Shell Syntax11180
|
||||
Node: Shell Operation12210
|
||||
Node: Quoting13511
|
||||
Node: Escape Character14827
|
||||
Node: Single Quotes15328
|
||||
Node: Double Quotes15680
|
||||
Node: ANSI-C Quoting17026
|
||||
Node: Locale Translation18414
|
||||
Node: Creating Internationalized Scripts19761
|
||||
Node: Comments23962
|
||||
Node: Shell Commands24600
|
||||
Node: Reserved Words25542
|
||||
Node: Simple Commands26410
|
||||
Node: Pipelines27072
|
||||
Node: Lists30138
|
||||
Node: Compound Commands32013
|
||||
Node: Looping Constructs33025
|
||||
Node: Conditional Constructs35572
|
||||
Node: Command Grouping50396
|
||||
Node: Coprocesses51886
|
||||
Node: GNU Parallel54585
|
||||
Node: Shell Functions55506
|
||||
Node: Shell Parameters63615
|
||||
Node: Positional Parameters68151
|
||||
Node: Special Parameters69089
|
||||
Node: Shell Expansions72398
|
||||
Node: Brace Expansion74590
|
||||
Node: Tilde Expansion77256
|
||||
Node: Shell Parameter Expansion80025
|
||||
Node: Command Substitution99135
|
||||
Node: Arithmetic Expansion102671
|
||||
Node: Process Substitution103639
|
||||
Node: Word Splitting104779
|
||||
Node: Filename Expansion106923
|
||||
Node: Pattern Matching110022
|
||||
Node: Quote Removal115258
|
||||
Node: Redirections115565
|
||||
Node: Executing Commands125377
|
||||
Node: Simple Command Expansion126047
|
||||
Node: Command Search and Execution128161
|
||||
Node: Command Execution Environment130572
|
||||
Node: Environment133884
|
||||
Node: Exit Status135591
|
||||
Node: Signals137379
|
||||
Node: Shell Scripts140996
|
||||
Node: Shell Builtin Commands144091
|
||||
Node: Bourne Shell Builtins146205
|
||||
Node: Bash Builtins170978
|
||||
Node: Modifying Shell Behavior205995
|
||||
Node: The Set Builtin206340
|
||||
Node: The Shopt Builtin217926
|
||||
Node: Special Builtins234891
|
||||
Node: Shell Variables235883
|
||||
Node: Bourne Shell Variables236320
|
||||
Node: Bash Variables238516
|
||||
Node: Bash Features275714
|
||||
Node: Invoking Bash276731
|
||||
Node: Bash Startup Files283133
|
||||
Node: Interactive Shells288439
|
||||
Node: What is an Interactive Shell?288850
|
||||
Node: Is this Shell Interactive?289519
|
||||
Node: Interactive Shell Behavior290346
|
||||
Node: Bash Conditional Expressions294103
|
||||
Node: Shell Arithmetic299280
|
||||
Node: Aliases302365
|
||||
Node: Arrays305323
|
||||
Node: The Directory Stack312125
|
||||
Node: Directory Stack Builtins312925
|
||||
Node: Controlling the Prompt317377
|
||||
Node: The Restricted Shell320518
|
||||
Node: Bash POSIX Mode323308
|
||||
Node: Shell Compatibility Mode340822
|
||||
Node: Job Control349592
|
||||
Node: Job Control Basics350052
|
||||
Node: Job Control Builtins355229
|
||||
Node: Job Control Variables361176
|
||||
Node: Command Line Editing362356
|
||||
Node: Introduction and Notation364063
|
||||
Node: Readline Interaction365710
|
||||
Node: Readline Bare Essentials366901
|
||||
Node: Readline Movement Commands368722
|
||||
Node: Readline Killing Commands369722
|
||||
Node: Readline Arguments371703
|
||||
Node: Searching372763
|
||||
Node: Readline Init File374995
|
||||
Node: Readline Init File Syntax376280
|
||||
Node: Conditional Init Constructs401221
|
||||
Node: Sample Init File405589
|
||||
Node: Bindable Readline Commands408713
|
||||
Node: Commands For Moving409941
|
||||
Node: Commands For History412171
|
||||
Node: Commands For Text417379
|
||||
Node: Commands For Killing421516
|
||||
Node: Numeric Arguments424320
|
||||
Node: Commands For Completion425475
|
||||
Node: Keyboard Macros429794
|
||||
Node: Miscellaneous Commands430498
|
||||
Node: Readline vi Mode437155
|
||||
Node: Programmable Completion438110
|
||||
Node: Programmable Completion Builtins446070
|
||||
Node: A Programmable Completion Example457639
|
||||
Node: Using History Interactively462987
|
||||
Node: Bash History Facilities463671
|
||||
Node: Bash History Builtins466786
|
||||
Node: History Interaction472032
|
||||
Node: Event Designators476360
|
||||
Node: Word Designators477946
|
||||
Node: Modifiers479935
|
||||
Node: Installing Bash481847
|
||||
Node: Basic Installation482984
|
||||
Node: Compilers and Options486866
|
||||
Node: Compiling For Multiple Architectures487619
|
||||
Node: Installation Names489371
|
||||
Node: Specifying the System Type491608
|
||||
Node: Sharing Defaults492357
|
||||
Node: Operation Controls493074
|
||||
Node: Optional Features494096
|
||||
Node: Reporting Bugs505901
|
||||
Node: Major Differences From The Bourne Shell507253
|
||||
Node: GNU Free Documentation License526991
|
||||
Node: Indexes552171
|
||||
Node: Builtin Index552625
|
||||
Node: Reserved Word Index559726
|
||||
Node: Variable Index562174
|
||||
Node: Function Index579308
|
||||
Node: Concept Index593167
|
||||
Node: Top900
|
||||
Node: Introduction2840
|
||||
Node: What is Bash?3056
|
||||
Node: What is a shell?4200
|
||||
Node: Definitions6782
|
||||
Node: Basic Shell Features9961
|
||||
Node: Shell Syntax11184
|
||||
Node: Shell Operation12214
|
||||
Node: Quoting13515
|
||||
Node: Escape Character14831
|
||||
Node: Single Quotes15332
|
||||
Node: Double Quotes15684
|
||||
Node: ANSI-C Quoting17030
|
||||
Node: Locale Translation18418
|
||||
Node: Creating Internationalized Scripts19765
|
||||
Node: Comments23966
|
||||
Node: Shell Commands24604
|
||||
Node: Reserved Words25546
|
||||
Node: Simple Commands26414
|
||||
Node: Pipelines27076
|
||||
Node: Lists30142
|
||||
Node: Compound Commands32017
|
||||
Node: Looping Constructs33029
|
||||
Node: Conditional Constructs35576
|
||||
Node: Command Grouping50400
|
||||
Node: Coprocesses51890
|
||||
Node: GNU Parallel54589
|
||||
Node: Shell Functions55510
|
||||
Node: Shell Parameters63619
|
||||
Node: Positional Parameters68155
|
||||
Node: Special Parameters69093
|
||||
Node: Shell Expansions72402
|
||||
Node: Brace Expansion74594
|
||||
Node: Tilde Expansion77260
|
||||
Node: Shell Parameter Expansion80029
|
||||
Node: Command Substitution99139
|
||||
Node: Arithmetic Expansion102675
|
||||
Node: Process Substitution103643
|
||||
Node: Word Splitting104783
|
||||
Node: Filename Expansion106927
|
||||
Node: Pattern Matching110026
|
||||
Node: Quote Removal115262
|
||||
Node: Redirections115569
|
||||
Node: Executing Commands125381
|
||||
Node: Simple Command Expansion126051
|
||||
Node: Command Search and Execution128165
|
||||
Node: Command Execution Environment130576
|
||||
Node: Environment133888
|
||||
Node: Exit Status135595
|
||||
Node: Signals137383
|
||||
Node: Shell Scripts141000
|
||||
Node: Shell Builtin Commands144095
|
||||
Node: Bourne Shell Builtins146209
|
||||
Node: Bash Builtins170982
|
||||
Node: Modifying Shell Behavior206084
|
||||
Node: The Set Builtin206429
|
||||
Node: The Shopt Builtin218015
|
||||
Node: Special Builtins234980
|
||||
Node: Shell Variables235972
|
||||
Node: Bourne Shell Variables236409
|
||||
Node: Bash Variables238605
|
||||
Node: Bash Features275803
|
||||
Node: Invoking Bash276820
|
||||
Node: Bash Startup Files283222
|
||||
Node: Interactive Shells288528
|
||||
Node: What is an Interactive Shell?288939
|
||||
Node: Is this Shell Interactive?289608
|
||||
Node: Interactive Shell Behavior290435
|
||||
Node: Bash Conditional Expressions294192
|
||||
Node: Shell Arithmetic299369
|
||||
Node: Aliases302454
|
||||
Node: Arrays305412
|
||||
Node: The Directory Stack312214
|
||||
Node: Directory Stack Builtins313014
|
||||
Node: Controlling the Prompt317466
|
||||
Node: The Restricted Shell320607
|
||||
Node: Bash POSIX Mode323397
|
||||
Node: Shell Compatibility Mode340911
|
||||
Node: Job Control349681
|
||||
Node: Job Control Basics350141
|
||||
Node: Job Control Builtins355318
|
||||
Node: Job Control Variables361265
|
||||
Node: Command Line Editing362445
|
||||
Node: Introduction and Notation364152
|
||||
Node: Readline Interaction365799
|
||||
Node: Readline Bare Essentials366990
|
||||
Node: Readline Movement Commands368811
|
||||
Node: Readline Killing Commands369811
|
||||
Node: Readline Arguments371792
|
||||
Node: Searching372852
|
||||
Node: Readline Init File375084
|
||||
Node: Readline Init File Syntax376369
|
||||
Node: Conditional Init Constructs401310
|
||||
Node: Sample Init File405678
|
||||
Node: Bindable Readline Commands408802
|
||||
Node: Commands For Moving410030
|
||||
Node: Commands For History412260
|
||||
Node: Commands For Text417468
|
||||
Node: Commands For Killing421605
|
||||
Node: Numeric Arguments424409
|
||||
Node: Commands For Completion425564
|
||||
Node: Keyboard Macros429883
|
||||
Node: Miscellaneous Commands430587
|
||||
Node: Readline vi Mode437244
|
||||
Node: Programmable Completion438199
|
||||
Node: Programmable Completion Builtins446159
|
||||
Node: A Programmable Completion Example457728
|
||||
Node: Using History Interactively463076
|
||||
Node: Bash History Facilities463760
|
||||
Node: Bash History Builtins466875
|
||||
Node: History Interaction472121
|
||||
Node: Event Designators476449
|
||||
Node: Word Designators478035
|
||||
Node: Modifiers480190
|
||||
Node: Installing Bash482102
|
||||
Node: Basic Installation483239
|
||||
Node: Compilers and Options487121
|
||||
Node: Compiling For Multiple Architectures487874
|
||||
Node: Installation Names489626
|
||||
Node: Specifying the System Type491863
|
||||
Node: Sharing Defaults492612
|
||||
Node: Operation Controls493329
|
||||
Node: Optional Features494351
|
||||
Node: Reporting Bugs506156
|
||||
Node: Major Differences From The Bourne Shell507508
|
||||
Node: GNU Free Documentation License527246
|
||||
Node: Indexes552426
|
||||
Node: Builtin Index552880
|
||||
Node: Reserved Word Index559981
|
||||
Node: Variable Index562429
|
||||
Node: Function Index579563
|
||||
Node: Concept Index593422
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user