mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 13:10:45 +02:00
minor updates for 5.3-rc1 release
This commit is contained in:
+114
-113
@@ -842,7 +842,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
|
||||
@@ -855,9 +855,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
|
||||
@@ -1724,7 +1725,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,
|
||||
@@ -13621,115 +13622,115 @@ Node: Pipelines27462
|
||||
Node: Lists30718
|
||||
Node: Compound Commands32590
|
||||
Node: Looping Constructs33599
|
||||
Node: Conditional Constructs36118
|
||||
Node: Command Grouping51188
|
||||
Node: Coprocesses52680
|
||||
Node: GNU Parallel55366
|
||||
Node: Shell Functions56284
|
||||
Node: Shell Parameters64732
|
||||
Node: Positional Parameters69633
|
||||
Node: Special Parameters70723
|
||||
Node: Shell Expansions74184
|
||||
Node: Brace Expansion76373
|
||||
Node: Tilde Expansion79711
|
||||
Node: Shell Parameter Expansion82666
|
||||
Node: Command Substitution103309
|
||||
Node: Arithmetic Expansion106838
|
||||
Node: Process Substitution108014
|
||||
Node: Word Splitting109122
|
||||
Node: Filename Expansion111566
|
||||
Node: Pattern Matching114790
|
||||
Node: Quote Removal120513
|
||||
Node: Redirections120817
|
||||
Node: Executing Commands131080
|
||||
Node: Simple Command Expansion131747
|
||||
Node: Command Search and Execution133855
|
||||
Node: Command Execution Environment136299
|
||||
Node: Environment139747
|
||||
Node: Exit Status141650
|
||||
Node: Signals143708
|
||||
Node: Shell Scripts148637
|
||||
Node: Shell Builtin Commands151935
|
||||
Node: Bourne Shell Builtins154046
|
||||
Node: Bash Builtins180616
|
||||
Node: Modifying Shell Behavior217540
|
||||
Node: The Set Builtin217882
|
||||
Node: The Shopt Builtin229876
|
||||
Node: Special Builtins246928
|
||||
Node: Shell Variables247917
|
||||
Node: Bourne Shell Variables248351
|
||||
Node: Bash Variables250859
|
||||
Node: Bash Features289764
|
||||
Node: Invoking Bash290778
|
||||
Node: Bash Startup Files297362
|
||||
Node: Interactive Shells302604
|
||||
Node: What is an Interactive Shell?303012
|
||||
Node: Is this Shell Interactive?303674
|
||||
Node: Interactive Shell Behavior304498
|
||||
Node: Bash Conditional Expressions308259
|
||||
Node: Shell Arithmetic313676
|
||||
Node: Aliases317005
|
||||
Node: Arrays320139
|
||||
Node: The Directory Stack327727
|
||||
Node: Directory Stack Builtins328524
|
||||
Node: Controlling the Prompt332969
|
||||
Node: The Restricted Shell335854
|
||||
Node: Bash POSIX Mode338736
|
||||
Node: Shell Compatibility Mode357093
|
||||
Node: Job Control366100
|
||||
Node: Job Control Basics366557
|
||||
Node: Job Control Builtins372925
|
||||
Node: Job Control Variables379607
|
||||
Node: Command Line Editing380838
|
||||
Node: Introduction and Notation382541
|
||||
Node: Readline Interaction384893
|
||||
Node: Readline Bare Essentials386081
|
||||
Node: Readline Movement Commands387889
|
||||
Node: Readline Killing Commands388885
|
||||
Node: Readline Arguments390908
|
||||
Node: Searching391965
|
||||
Node: Readline Init File394208
|
||||
Node: Readline Init File Syntax395511
|
||||
Node: Conditional Init Constructs422336
|
||||
Node: Sample Init File426721
|
||||
Node: Bindable Readline Commands429841
|
||||
Node: Commands For Moving431379
|
||||
Node: Commands For History433843
|
||||
Node: Commands For Text439233
|
||||
Node: Commands For Killing443358
|
||||
Node: Numeric Arguments446146
|
||||
Node: Commands For Completion447298
|
||||
Node: Keyboard Macros452994
|
||||
Node: Miscellaneous Commands453695
|
||||
Node: Readline vi Mode460262
|
||||
Node: Programmable Completion461239
|
||||
Node: Programmable Completion Builtins469976
|
||||
Node: A Programmable Completion Example481713
|
||||
Node: Using History Interactively487058
|
||||
Node: Bash History Facilities487739
|
||||
Node: Bash History Builtins491474
|
||||
Node: History Interaction497945
|
||||
Node: Event Designators502895
|
||||
Node: Word Designators504473
|
||||
Node: Modifiers506865
|
||||
Node: Installing Bash508802
|
||||
Node: Basic Installation509918
|
||||
Node: Compilers and Options513794
|
||||
Node: Compiling For Multiple Architectures514544
|
||||
Node: Installation Names516297
|
||||
Node: Specifying the System Type518531
|
||||
Node: Sharing Defaults519277
|
||||
Node: Operation Controls519991
|
||||
Node: Optional Features521010
|
||||
Node: Reporting Bugs533390
|
||||
Node: Major Differences From The Bourne Shell534747
|
||||
Node: GNU Free Documentation License556173
|
||||
Node: Indexes581350
|
||||
Node: Builtin Index581801
|
||||
Node: Reserved Word Index588899
|
||||
Node: Variable Index591344
|
||||
Node: Function Index608757
|
||||
Node: Concept Index622752
|
||||
Node: Conditional Constructs36148
|
||||
Node: Command Grouping51218
|
||||
Node: Coprocesses52710
|
||||
Node: GNU Parallel55396
|
||||
Node: Shell Functions56314
|
||||
Node: Shell Parameters64762
|
||||
Node: Positional Parameters69663
|
||||
Node: Special Parameters70753
|
||||
Node: Shell Expansions74214
|
||||
Node: Brace Expansion76403
|
||||
Node: Tilde Expansion79739
|
||||
Node: Shell Parameter Expansion82694
|
||||
Node: Command Substitution103337
|
||||
Node: Arithmetic Expansion106866
|
||||
Node: Process Substitution108042
|
||||
Node: Word Splitting109150
|
||||
Node: Filename Expansion111594
|
||||
Node: Pattern Matching114818
|
||||
Node: Quote Removal120541
|
||||
Node: Redirections120845
|
||||
Node: Executing Commands131108
|
||||
Node: Simple Command Expansion131775
|
||||
Node: Command Search and Execution133883
|
||||
Node: Command Execution Environment136327
|
||||
Node: Environment139775
|
||||
Node: Exit Status141678
|
||||
Node: Signals143736
|
||||
Node: Shell Scripts148665
|
||||
Node: Shell Builtin Commands151963
|
||||
Node: Bourne Shell Builtins154074
|
||||
Node: Bash Builtins180644
|
||||
Node: Modifying Shell Behavior217568
|
||||
Node: The Set Builtin217910
|
||||
Node: The Shopt Builtin229904
|
||||
Node: Special Builtins246956
|
||||
Node: Shell Variables247945
|
||||
Node: Bourne Shell Variables248379
|
||||
Node: Bash Variables250887
|
||||
Node: Bash Features289792
|
||||
Node: Invoking Bash290806
|
||||
Node: Bash Startup Files297390
|
||||
Node: Interactive Shells302632
|
||||
Node: What is an Interactive Shell?303040
|
||||
Node: Is this Shell Interactive?303702
|
||||
Node: Interactive Shell Behavior304526
|
||||
Node: Bash Conditional Expressions308287
|
||||
Node: Shell Arithmetic313704
|
||||
Node: Aliases317033
|
||||
Node: Arrays320167
|
||||
Node: The Directory Stack327755
|
||||
Node: Directory Stack Builtins328552
|
||||
Node: Controlling the Prompt332997
|
||||
Node: The Restricted Shell335882
|
||||
Node: Bash POSIX Mode338764
|
||||
Node: Shell Compatibility Mode357121
|
||||
Node: Job Control366128
|
||||
Node: Job Control Basics366585
|
||||
Node: Job Control Builtins372953
|
||||
Node: Job Control Variables379635
|
||||
Node: Command Line Editing380866
|
||||
Node: Introduction and Notation382569
|
||||
Node: Readline Interaction384921
|
||||
Node: Readline Bare Essentials386109
|
||||
Node: Readline Movement Commands387917
|
||||
Node: Readline Killing Commands388913
|
||||
Node: Readline Arguments390936
|
||||
Node: Searching391993
|
||||
Node: Readline Init File394236
|
||||
Node: Readline Init File Syntax395539
|
||||
Node: Conditional Init Constructs422364
|
||||
Node: Sample Init File426749
|
||||
Node: Bindable Readline Commands429869
|
||||
Node: Commands For Moving431407
|
||||
Node: Commands For History433871
|
||||
Node: Commands For Text439261
|
||||
Node: Commands For Killing443386
|
||||
Node: Numeric Arguments446174
|
||||
Node: Commands For Completion447326
|
||||
Node: Keyboard Macros453022
|
||||
Node: Miscellaneous Commands453723
|
||||
Node: Readline vi Mode460290
|
||||
Node: Programmable Completion461267
|
||||
Node: Programmable Completion Builtins470004
|
||||
Node: A Programmable Completion Example481741
|
||||
Node: Using History Interactively487086
|
||||
Node: Bash History Facilities487767
|
||||
Node: Bash History Builtins491502
|
||||
Node: History Interaction497973
|
||||
Node: Event Designators502923
|
||||
Node: Word Designators504501
|
||||
Node: Modifiers506893
|
||||
Node: Installing Bash508830
|
||||
Node: Basic Installation509946
|
||||
Node: Compilers and Options513822
|
||||
Node: Compiling For Multiple Architectures514572
|
||||
Node: Installation Names516325
|
||||
Node: Specifying the System Type518559
|
||||
Node: Sharing Defaults519305
|
||||
Node: Operation Controls520019
|
||||
Node: Optional Features521038
|
||||
Node: Reporting Bugs533418
|
||||
Node: Major Differences From The Bourne Shell534775
|
||||
Node: GNU Free Documentation License556201
|
||||
Node: Indexes581378
|
||||
Node: Builtin Index581829
|
||||
Node: Reserved Word Index588927
|
||||
Node: Variable Index591372
|
||||
Node: Function Index608785
|
||||
Node: Concept Index622780
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user