minor portability fixes; printf now uses double for floating point conversions by default in posix mode

This commit is contained in:
Chet Ramey
2022-04-12 09:57:43 -04:00
parent 0b9a4b3ae0
commit 3be2a2ca9a
14 changed files with 557 additions and 360 deletions
+142 -137
View File
@@ -2,9 +2,9 @@ This is bashref.info, produced by makeinfo version 6.8 from
bashref.texi.
This text is a brief description of the features that are present in the
Bash shell (version 5.2, 24 February 2022).
Bash shell (version 5.2, 11 April 2022).
This is Edition 5.2, last updated 24 February 2022, of 'The GNU Bash
This is Edition 5.2, last updated 11 April 2022, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.2.
Copyright (C) 1988-2022 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.2, 24 February 2022). The Bash home page is
Bash shell (version 5.2, 11 April 2022). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.2, last updated 24 February 2022, of 'The GNU Bash
This is Edition 5.2, last updated 11 April 2022, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.2.
Bash contains features that appear in other popular shells, and some
@@ -7249,7 +7249,12 @@ startup files.
'read', the trap handler executes and 'read' returns an exit status
greater than 128.
60. Bash removes an exited background process's status from the list
60. The 'printf' builting uses 'double' (via 'strtod') to convert
arguments corresponding to floating point conversion specifiers,
instead of 'long double' if it's available. The 'L' length
modifier forces 'printf' to use 'long double' if it's available.
61. 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
@@ -12495,138 +12500,138 @@ D.5 Concept Index

Tag Table:
Node: Top897
Node: Introduction2817
Node: What is Bash?3033
Node: What is a shell?4147
Node: Definitions6685
Node: Basic Shell Features9636
Node: Shell Syntax10855
Node: Shell Operation11881
Node: Quoting13174
Node: Escape Character14478
Node: Single Quotes14963
Node: Double Quotes15311
Node: ANSI-C Quoting16589
Node: Locale Translation17899
Node: Creating Internationalized Scripts19210
Node: Comments23327
Node: Shell Commands23945
Node: Reserved Words24883
Node: Simple Commands25639
Node: Pipelines26293
Node: Lists29252
Node: Compound Commands31047
Node: Looping Constructs32059
Node: Conditional Constructs34554
Node: Command Grouping48898
Node: Coprocesses50376
Node: GNU Parallel53039
Node: Shell Functions53956
Node: Shell Parameters61841
Node: Positional Parameters66229
Node: Special Parameters67131
Node: Shell Expansions70345
Node: Brace Expansion72472
Node: Tilde Expansion75206
Node: Shell Parameter Expansion77827
Node: Command Substitution96178
Node: Arithmetic Expansion97533
Node: Process Substitution98501
Node: Word Splitting99621
Node: Filename Expansion101565
Node: Pattern Matching104314
Node: Quote Removal108922
Node: Redirections109217
Node: Executing Commands118877
Node: Simple Command Expansion119547
Node: Command Search and Execution121657
Node: Command Execution Environment124035
Node: Environment127070
Node: Exit Status128733
Node: Signals130517
Node: Shell Scripts133966
Node: Shell Builtin Commands136993
Node: Bourne Shell Builtins139031
Node: Bash Builtins160492
Node: Modifying Shell Behavior191348
Node: The Set Builtin191693
Node: The Shopt Builtin202294
Node: Special Builtins218206
Node: Shell Variables219185
Node: Bourne Shell Variables219622
Node: Bash Variables221726
Node: Bash Features254542
Node: Invoking Bash255555
Node: Bash Startup Files261568
Node: Interactive Shells266671
Node: What is an Interactive Shell?267081
Node: Is this Shell Interactive?267730
Node: Interactive Shell Behavior268545
Node: Bash Conditional Expressions272174
Node: Shell Arithmetic276816
Node: Aliases279760
Node: Arrays282373
Node: The Directory Stack288764
Node: Directory Stack Builtins289548
Node: Controlling the Prompt293808
Node: The Restricted Shell296773
Node: Bash POSIX Mode299383
Node: Shell Compatibility Mode311033
Node: Job Control319062
Node: Job Control Basics319522
Node: Job Control Builtins324524
Node: Job Control Variables329924
Node: Command Line Editing331080
Node: Introduction and Notation332751
Node: Readline Interaction334374
Node: Readline Bare Essentials335565
Node: Readline Movement Commands337348
Node: Readline Killing Commands338308
Node: Readline Arguments340226
Node: Searching341270
Node: Readline Init File343456
Node: Readline Init File Syntax344717
Node: Conditional Init Constructs367916
Node: Sample Init File372112
Node: Bindable Readline Commands375236
Node: Commands For Moving376440
Node: Commands For History378491
Node: Commands For Text383485
Node: Commands For Killing387134
Node: Numeric Arguments390167
Node: Commands For Completion391306
Node: Keyboard Macros395497
Node: Miscellaneous Commands396184
Node: Readline vi Mode402123
Node: Programmable Completion403030
Node: Programmable Completion Builtins410810
Node: A Programmable Completion Example421505
Node: Using History Interactively426752
Node: Bash History Facilities427436
Node: Bash History Builtins430441
Node: History Interaction435449
Node: Event Designators439069
Node: Word Designators440423
Node: Modifiers442183
Node: Installing Bash443994
Node: Basic Installation445131
Node: Compilers and Options448853
Node: Compiling For Multiple Architectures449594
Node: Installation Names451287
Node: Specifying the System Type453396
Node: Sharing Defaults454112
Node: Operation Controls454785
Node: Optional Features455743
Node: Reporting Bugs466961
Node: Major Differences From The Bourne Shell468236
Node: GNU Free Documentation License485086
Node: Indexes510263
Node: Builtin Index510717
Node: Reserved Word Index517544
Node: Variable Index519992
Node: Function Index536766
Node: Concept Index550550
Node: Top891
Node: Introduction2805
Node: What is Bash?3021
Node: What is a shell?4135
Node: Definitions6673
Node: Basic Shell Features9624
Node: Shell Syntax10843
Node: Shell Operation11869
Node: Quoting13162
Node: Escape Character14466
Node: Single Quotes14951
Node: Double Quotes15299
Node: ANSI-C Quoting16577
Node: Locale Translation17887
Node: Creating Internationalized Scripts19198
Node: Comments23315
Node: Shell Commands23933
Node: Reserved Words24871
Node: Simple Commands25627
Node: Pipelines26281
Node: Lists29240
Node: Compound Commands31035
Node: Looping Constructs32047
Node: Conditional Constructs34542
Node: Command Grouping48886
Node: Coprocesses50364
Node: GNU Parallel53027
Node: Shell Functions53944
Node: Shell Parameters61829
Node: Positional Parameters66217
Node: Special Parameters67119
Node: Shell Expansions70333
Node: Brace Expansion72460
Node: Tilde Expansion75194
Node: Shell Parameter Expansion77815
Node: Command Substitution96166
Node: Arithmetic Expansion97521
Node: Process Substitution98489
Node: Word Splitting99609
Node: Filename Expansion101553
Node: Pattern Matching104302
Node: Quote Removal108910
Node: Redirections109205
Node: Executing Commands118865
Node: Simple Command Expansion119535
Node: Command Search and Execution121645
Node: Command Execution Environment124023
Node: Environment127058
Node: Exit Status128721
Node: Signals130505
Node: Shell Scripts133954
Node: Shell Builtin Commands136981
Node: Bourne Shell Builtins139019
Node: Bash Builtins160480
Node: Modifying Shell Behavior191336
Node: The Set Builtin191681
Node: The Shopt Builtin202282
Node: Special Builtins218194
Node: Shell Variables219173
Node: Bourne Shell Variables219610
Node: Bash Variables221714
Node: Bash Features254530
Node: Invoking Bash255543
Node: Bash Startup Files261556
Node: Interactive Shells266659
Node: What is an Interactive Shell?267069
Node: Is this Shell Interactive?267718
Node: Interactive Shell Behavior268533
Node: Bash Conditional Expressions272162
Node: Shell Arithmetic276804
Node: Aliases279748
Node: Arrays282361
Node: The Directory Stack288752
Node: Directory Stack Builtins289536
Node: Controlling the Prompt293796
Node: The Restricted Shell296761
Node: Bash POSIX Mode299371
Node: Shell Compatibility Mode311295
Node: Job Control319324
Node: Job Control Basics319784
Node: Job Control Builtins324786
Node: Job Control Variables330186
Node: Command Line Editing331342
Node: Introduction and Notation333013
Node: Readline Interaction334636
Node: Readline Bare Essentials335827
Node: Readline Movement Commands337610
Node: Readline Killing Commands338570
Node: Readline Arguments340488
Node: Searching341532
Node: Readline Init File343718
Node: Readline Init File Syntax344979
Node: Conditional Init Constructs368178
Node: Sample Init File372374
Node: Bindable Readline Commands375498
Node: Commands For Moving376702
Node: Commands For History378753
Node: Commands For Text383747
Node: Commands For Killing387396
Node: Numeric Arguments390429
Node: Commands For Completion391568
Node: Keyboard Macros395759
Node: Miscellaneous Commands396446
Node: Readline vi Mode402385
Node: Programmable Completion403292
Node: Programmable Completion Builtins411072
Node: A Programmable Completion Example421767
Node: Using History Interactively427014
Node: Bash History Facilities427698
Node: Bash History Builtins430703
Node: History Interaction435711
Node: Event Designators439331
Node: Word Designators440685
Node: Modifiers442445
Node: Installing Bash444256
Node: Basic Installation445393
Node: Compilers and Options449115
Node: Compiling For Multiple Architectures449856
Node: Installation Names451549
Node: Specifying the System Type453658
Node: Sharing Defaults454374
Node: Operation Controls455047
Node: Optional Features456005
Node: Reporting Bugs467223
Node: Major Differences From The Bourne Shell468498
Node: GNU Free Documentation License485348
Node: Indexes510525
Node: Builtin Index510979
Node: Reserved Word Index517806
Node: Variable Index520254
Node: Function Index537028
Node: Concept Index550812

End Tag Table