mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-08 11:12:36 +02:00
minor updates for 5.3-rc1 release
This commit is contained in:
+114
-113
@@ -843,7 +843,7 @@ syntax, it may be replaced with one or more newlines.
|
||||
‘for’
|
||||
The syntax of the ‘for’ command is:
|
||||
|
||||
for NAME [ [in [WORDS ...] ] ; ] do COMMANDS; done
|
||||
for NAME [ [in WORDS ...] ; ] do COMMANDS; done
|
||||
|
||||
Expand WORDS (*note Shell Expansions::), and then execute COMMANDS
|
||||
once for each word in the resultant list, with NAME bound to the
|
||||
@@ -856,9 +856,10 @@ syntax, it may be replaced with one or more newlines.
|
||||
executes. If there are no items in the expansion of WORDS, no
|
||||
commands are executed, and the return status is zero.
|
||||
|
||||
An alternate form of the ‘for’ command is also supported:
|
||||
There is an alternate form of the ‘for’ command which is similar to
|
||||
the C language:
|
||||
|
||||
for (( EXPR1 ; EXPR2 ; EXPR3 )) ; do COMMANDS ; done
|
||||
for (( EXPR1 ; EXPR2 ; EXPR3 )) [;] do COMMANDS ; done
|
||||
|
||||
First, evaluate the arithmetic expression EXPR1 according to the
|
||||
rules described below (*note Shell Arithmetic::). Then, repeatedly
|
||||
@@ -1725,7 +1726,7 @@ example,
|
||||
bash$ echo a{d,c,b}e
|
||||
ade ace abe
|
||||
|
||||
A sequence expression takes the form ‘{X..Y[..INCR]}’, where X and Y
|
||||
A sequence expression takes the form ‘X..Y[..INCR]’, where X and Y
|
||||
are either integers or letters, and INCR, an optional increment, is an
|
||||
integer. When integers are supplied, the expression expands to each
|
||||
number between X and Y, inclusive. If either X or Y begins with a zero,
|
||||
@@ -13622,115 +13623,115 @@ Node: Pipelines27522
|
||||
Node: Lists30781
|
||||
Node: Compound Commands32656
|
||||
Node: Looping Constructs33668
|
||||
Node: Conditional Constructs36190
|
||||
Node: Command Grouping51263
|
||||
Node: Coprocesses52758
|
||||
Node: GNU Parallel55447
|
||||
Node: Shell Functions56368
|
||||
Node: Shell Parameters64819
|
||||
Node: Positional Parameters69723
|
||||
Node: Special Parameters70816
|
||||
Node: Shell Expansions74280
|
||||
Node: Brace Expansion76472
|
||||
Node: Tilde Expansion79813
|
||||
Node: Shell Parameter Expansion82771
|
||||
Node: Command Substitution103417
|
||||
Node: Arithmetic Expansion106949
|
||||
Node: Process Substitution108128
|
||||
Node: Word Splitting109239
|
||||
Node: Filename Expansion111686
|
||||
Node: Pattern Matching114913
|
||||
Node: Quote Removal120639
|
||||
Node: Redirections120946
|
||||
Node: Executing Commands131212
|
||||
Node: Simple Command Expansion131882
|
||||
Node: Command Search and Execution133993
|
||||
Node: Command Execution Environment136440
|
||||
Node: Environment139891
|
||||
Node: Exit Status141797
|
||||
Node: Signals143858
|
||||
Node: Shell Scripts148790
|
||||
Node: Shell Builtin Commands152091
|
||||
Node: Bourne Shell Builtins154205
|
||||
Node: Bash Builtins180778
|
||||
Node: Modifying Shell Behavior217705
|
||||
Node: The Set Builtin218050
|
||||
Node: The Shopt Builtin230047
|
||||
Node: Special Builtins247102
|
||||
Node: Shell Variables248094
|
||||
Node: Bourne Shell Variables248531
|
||||
Node: Bash Variables251042
|
||||
Node: Bash Features289950
|
||||
Node: Invoking Bash290967
|
||||
Node: Bash Startup Files297554
|
||||
Node: Interactive Shells302799
|
||||
Node: What is an Interactive Shell?303210
|
||||
Node: Is this Shell Interactive?303875
|
||||
Node: Interactive Shell Behavior304702
|
||||
Node: Bash Conditional Expressions308466
|
||||
Node: Shell Arithmetic313886
|
||||
Node: Aliases317218
|
||||
Node: Arrays320355
|
||||
Node: The Directory Stack327946
|
||||
Node: Directory Stack Builtins328746
|
||||
Node: Controlling the Prompt333194
|
||||
Node: The Restricted Shell336082
|
||||
Node: Bash POSIX Mode338967
|
||||
Node: Shell Compatibility Mode357327
|
||||
Node: Job Control366337
|
||||
Node: Job Control Basics366797
|
||||
Node: Job Control Builtins373168
|
||||
Node: Job Control Variables379853
|
||||
Node: Command Line Editing381087
|
||||
Node: Introduction and Notation382793
|
||||
Node: Readline Interaction385148
|
||||
Node: Readline Bare Essentials386339
|
||||
Node: Readline Movement Commands388150
|
||||
Node: Readline Killing Commands389149
|
||||
Node: Readline Arguments391175
|
||||
Node: Searching392235
|
||||
Node: Readline Init File394481
|
||||
Node: Readline Init File Syntax395787
|
||||
Node: Conditional Init Constructs422615
|
||||
Node: Sample Init File427003
|
||||
Node: Bindable Readline Commands430126
|
||||
Node: Commands For Moving431667
|
||||
Node: Commands For History434134
|
||||
Node: Commands For Text439527
|
||||
Node: Commands For Killing443655
|
||||
Node: Numeric Arguments446446
|
||||
Node: Commands For Completion447601
|
||||
Node: Keyboard Macros453300
|
||||
Node: Miscellaneous Commands454004
|
||||
Node: Readline vi Mode460574
|
||||
Node: Programmable Completion461554
|
||||
Node: Programmable Completion Builtins470294
|
||||
Node: A Programmable Completion Example482034
|
||||
Node: Using History Interactively487382
|
||||
Node: Bash History Facilities488066
|
||||
Node: Bash History Builtins491804
|
||||
Node: History Interaction498278
|
||||
Node: Event Designators503231
|
||||
Node: Word Designators504812
|
||||
Node: Modifiers507207
|
||||
Node: Installing Bash509147
|
||||
Node: Basic Installation510266
|
||||
Node: Compilers and Options514145
|
||||
Node: Compiling For Multiple Architectures514898
|
||||
Node: Installation Names516654
|
||||
Node: Specifying the System Type518891
|
||||
Node: Sharing Defaults519640
|
||||
Node: Operation Controls520357
|
||||
Node: Optional Features521379
|
||||
Node: Reporting Bugs533762
|
||||
Node: Major Differences From The Bourne Shell535122
|
||||
Node: GNU Free Documentation License556551
|
||||
Node: Indexes581731
|
||||
Node: Builtin Index582185
|
||||
Node: Reserved Word Index589286
|
||||
Node: Variable Index591734
|
||||
Node: Function Index609150
|
||||
Node: Concept Index623148
|
||||
Node: Conditional Constructs36220
|
||||
Node: Command Grouping51293
|
||||
Node: Coprocesses52788
|
||||
Node: GNU Parallel55477
|
||||
Node: Shell Functions56398
|
||||
Node: Shell Parameters64849
|
||||
Node: Positional Parameters69753
|
||||
Node: Special Parameters70846
|
||||
Node: Shell Expansions74310
|
||||
Node: Brace Expansion76502
|
||||
Node: Tilde Expansion79841
|
||||
Node: Shell Parameter Expansion82799
|
||||
Node: Command Substitution103445
|
||||
Node: Arithmetic Expansion106977
|
||||
Node: Process Substitution108156
|
||||
Node: Word Splitting109267
|
||||
Node: Filename Expansion111714
|
||||
Node: Pattern Matching114941
|
||||
Node: Quote Removal120667
|
||||
Node: Redirections120974
|
||||
Node: Executing Commands131240
|
||||
Node: Simple Command Expansion131910
|
||||
Node: Command Search and Execution134021
|
||||
Node: Command Execution Environment136468
|
||||
Node: Environment139919
|
||||
Node: Exit Status141825
|
||||
Node: Signals143886
|
||||
Node: Shell Scripts148818
|
||||
Node: Shell Builtin Commands152119
|
||||
Node: Bourne Shell Builtins154233
|
||||
Node: Bash Builtins180806
|
||||
Node: Modifying Shell Behavior217733
|
||||
Node: The Set Builtin218078
|
||||
Node: The Shopt Builtin230075
|
||||
Node: Special Builtins247130
|
||||
Node: Shell Variables248122
|
||||
Node: Bourne Shell Variables248559
|
||||
Node: Bash Variables251070
|
||||
Node: Bash Features289978
|
||||
Node: Invoking Bash290995
|
||||
Node: Bash Startup Files297582
|
||||
Node: Interactive Shells302827
|
||||
Node: What is an Interactive Shell?303238
|
||||
Node: Is this Shell Interactive?303903
|
||||
Node: Interactive Shell Behavior304730
|
||||
Node: Bash Conditional Expressions308494
|
||||
Node: Shell Arithmetic313914
|
||||
Node: Aliases317246
|
||||
Node: Arrays320383
|
||||
Node: The Directory Stack327974
|
||||
Node: Directory Stack Builtins328774
|
||||
Node: Controlling the Prompt333222
|
||||
Node: The Restricted Shell336110
|
||||
Node: Bash POSIX Mode338995
|
||||
Node: Shell Compatibility Mode357355
|
||||
Node: Job Control366365
|
||||
Node: Job Control Basics366825
|
||||
Node: Job Control Builtins373196
|
||||
Node: Job Control Variables379881
|
||||
Node: Command Line Editing381115
|
||||
Node: Introduction and Notation382821
|
||||
Node: Readline Interaction385176
|
||||
Node: Readline Bare Essentials386367
|
||||
Node: Readline Movement Commands388178
|
||||
Node: Readline Killing Commands389177
|
||||
Node: Readline Arguments391203
|
||||
Node: Searching392263
|
||||
Node: Readline Init File394509
|
||||
Node: Readline Init File Syntax395815
|
||||
Node: Conditional Init Constructs422643
|
||||
Node: Sample Init File427031
|
||||
Node: Bindable Readline Commands430154
|
||||
Node: Commands For Moving431695
|
||||
Node: Commands For History434162
|
||||
Node: Commands For Text439555
|
||||
Node: Commands For Killing443683
|
||||
Node: Numeric Arguments446474
|
||||
Node: Commands For Completion447629
|
||||
Node: Keyboard Macros453328
|
||||
Node: Miscellaneous Commands454032
|
||||
Node: Readline vi Mode460602
|
||||
Node: Programmable Completion461582
|
||||
Node: Programmable Completion Builtins470322
|
||||
Node: A Programmable Completion Example482062
|
||||
Node: Using History Interactively487410
|
||||
Node: Bash History Facilities488094
|
||||
Node: Bash History Builtins491832
|
||||
Node: History Interaction498306
|
||||
Node: Event Designators503259
|
||||
Node: Word Designators504840
|
||||
Node: Modifiers507235
|
||||
Node: Installing Bash509175
|
||||
Node: Basic Installation510294
|
||||
Node: Compilers and Options514173
|
||||
Node: Compiling For Multiple Architectures514926
|
||||
Node: Installation Names516682
|
||||
Node: Specifying the System Type518919
|
||||
Node: Sharing Defaults519668
|
||||
Node: Operation Controls520385
|
||||
Node: Optional Features521407
|
||||
Node: Reporting Bugs533790
|
||||
Node: Major Differences From The Bourne Shell535150
|
||||
Node: GNU Free Documentation License556579
|
||||
Node: Indexes581759
|
||||
Node: Builtin Index582213
|
||||
Node: Reserved Word Index589314
|
||||
Node: Variable Index591762
|
||||
Node: Function Index609178
|
||||
Node: Concept Index623176
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user