mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 06:00:49 +02:00
commit bash-20160624 snapshot
This commit is contained in:
+143
-143
@@ -2,9 +2,9 @@ This is bashref.info, produced by makeinfo version 6.1 from
|
||||
bashref.texi.
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 4.4, 27 April 2016).
|
||||
Bash shell (version 4.4, 29 May 2016).
|
||||
|
||||
This is Edition 4.4, last updated 27 April 2016, of 'The GNU Bash
|
||||
This is Edition 4.4, last updated 29 May 2016, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 4.4.
|
||||
|
||||
Copyright (C) 1988-2016 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 4.4, 27 April 2016). The Bash home page is
|
||||
Bash shell (version 4.4, 29 May 2016). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 4.4, last updated 27 April 2016, of 'The GNU Bash
|
||||
This is Edition 4.4, last updated 29 May 2016, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 4.4.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -1285,12 +1285,12 @@ option to the 'declare' or 'local' builtin commands (*note Bash
|
||||
Builtins::) to create a NAMEREF, or a reference to another variable.
|
||||
This allows variables to be manipulated indirectly. Whenever the
|
||||
nameref variable is referenced, assigned to, unset, or has its
|
||||
attributes modified (other than the nameref attribute itself), the
|
||||
operation is actually performed on the variable specified by the nameref
|
||||
variable's value. A nameref is commonly used within shell functions to
|
||||
refer to a variable whose name is passed as an argument to the function.
|
||||
For instance, if a variable name is passed to a shell function as its
|
||||
first argument, running
|
||||
attributes modified (other than using or changing the nameref attribute
|
||||
itself), the operation is actually performed on the variable specified
|
||||
by the nameref variable's value. A nameref is commonly used within
|
||||
shell functions to refer to a variable whose name is passed as an
|
||||
argument to the function. For instance, if a variable name is passed to
|
||||
a shell function as its first argument, running
|
||||
declare -n ref=$1
|
||||
inside the function creates a nameref variable REF whose value is the
|
||||
variable name passed as the first argument. References and assignments
|
||||
@@ -3414,10 +3414,10 @@ standard.
|
||||
Give each NAME the NAMEREF attribute, making it a name
|
||||
reference to another variable. That other variable is defined
|
||||
by the value of NAME. All references, assignments, and
|
||||
attribute modifications to NAME, except for changing the '-n'
|
||||
attribute itself, are performed on the variable referenced by
|
||||
NAME's value. The nameref attribute cannot be applied to
|
||||
array variables.
|
||||
attribute modifications to NAME, except for those using or
|
||||
changing the '-n' attribute itself, are performed on the
|
||||
variable referenced by NAME's value. The nameref attribute
|
||||
cannot be applied to array variables.
|
||||
|
||||
'-r'
|
||||
Make NAMEs readonly. These names cannot then be assigned
|
||||
@@ -11334,134 +11334,134 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
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 Character14462
|
||||
Node: Single Quotes14947
|
||||
Node: Double Quotes15295
|
||||
Node: ANSI-C Quoting16573
|
||||
Node: Locale Translation17826
|
||||
Node: Comments18722
|
||||
Node: Shell Commands19340
|
||||
Node: Simple Commands20212
|
||||
Node: Pipelines20843
|
||||
Node: Lists23586
|
||||
Node: Compound Commands25315
|
||||
Node: Looping Constructs26318
|
||||
Node: Conditional Constructs28781
|
||||
Node: Command Grouping39703
|
||||
Node: Coprocesses41182
|
||||
Node: GNU Parallel43014
|
||||
Node: Shell Functions46987
|
||||
Node: Shell Parameters52193
|
||||
Node: Positional Parameters56587
|
||||
Node: Special Parameters57487
|
||||
Node: Shell Expansions60824
|
||||
Node: Brace Expansion62761
|
||||
Node: Tilde Expansion65542
|
||||
Node: Shell Parameter Expansion67890
|
||||
Node: Command Substitution82022
|
||||
Node: Arithmetic Expansion83377
|
||||
Node: Process Substitution84309
|
||||
Node: Word Splitting85429
|
||||
Node: Filename Expansion87373
|
||||
Node: Pattern Matching89657
|
||||
Node: Quote Removal93355
|
||||
Node: Redirections93650
|
||||
Node: Executing Commands102893
|
||||
Node: Simple Command Expansion103563
|
||||
Node: Command Search and Execution105493
|
||||
Node: Command Execution Environment107829
|
||||
Node: Environment110813
|
||||
Node: Exit Status112472
|
||||
Node: Signals114142
|
||||
Node: Shell Scripts116109
|
||||
Node: Shell Builtin Commands118624
|
||||
Node: Bourne Shell Builtins120658
|
||||
Node: Bash Builtins141258
|
||||
Node: Modifying Shell Behavior169888
|
||||
Node: The Set Builtin170233
|
||||
Node: The Shopt Builtin180646
|
||||
Node: Special Builtins196445
|
||||
Node: Shell Variables197424
|
||||
Node: Bourne Shell Variables197861
|
||||
Node: Bash Variables199892
|
||||
Node: Bash Features228272
|
||||
Node: Invoking Bash229171
|
||||
Node: Bash Startup Files235120
|
||||
Node: Interactive Shells240223
|
||||
Node: What is an Interactive Shell?240633
|
||||
Node: Is this Shell Interactive?241282
|
||||
Node: Interactive Shell Behavior242097
|
||||
Node: Bash Conditional Expressions245472
|
||||
Node: Shell Arithmetic249473
|
||||
Node: Aliases252290
|
||||
Node: Arrays254838
|
||||
Node: The Directory Stack259922
|
||||
Node: Directory Stack Builtins260706
|
||||
Node: Controlling the Prompt263674
|
||||
Node: The Restricted Shell266420
|
||||
Node: Bash POSIX Mode268245
|
||||
Node: Job Control278298
|
||||
Node: Job Control Basics278758
|
||||
Node: Job Control Builtins283477
|
||||
Node: Job Control Variables288007
|
||||
Node: Command Line Editing289163
|
||||
Node: Introduction and Notation290834
|
||||
Node: Readline Interaction292457
|
||||
Node: Readline Bare Essentials293648
|
||||
Node: Readline Movement Commands295431
|
||||
Node: Readline Killing Commands296391
|
||||
Node: Readline Arguments298309
|
||||
Node: Searching299353
|
||||
Node: Readline Init File301539
|
||||
Node: Readline Init File Syntax302686
|
||||
Node: Conditional Init Constructs322873
|
||||
Node: Sample Init File325398
|
||||
Node: Bindable Readline Commands328515
|
||||
Node: Commands For Moving329719
|
||||
Node: Commands For History330862
|
||||
Node: Commands For Text335151
|
||||
Node: Commands For Killing338540
|
||||
Node: Numeric Arguments341021
|
||||
Node: Commands For Completion342160
|
||||
Node: Keyboard Macros346351
|
||||
Node: Miscellaneous Commands347038
|
||||
Node: Readline vi Mode352842
|
||||
Node: Programmable Completion353749
|
||||
Node: Programmable Completion Builtins361210
|
||||
Node: A Programmable Completion Example371096
|
||||
Node: Using History Interactively376348
|
||||
Node: Bash History Facilities377032
|
||||
Node: Bash History Builtins380033
|
||||
Node: History Interaction384030
|
||||
Node: Event Designators386994
|
||||
Node: Word Designators388213
|
||||
Node: Modifiers389850
|
||||
Node: Installing Bash391252
|
||||
Node: Basic Installation392389
|
||||
Node: Compilers and Options395080
|
||||
Node: Compiling For Multiple Architectures395821
|
||||
Node: Installation Names397484
|
||||
Node: Specifying the System Type398302
|
||||
Node: Sharing Defaults399018
|
||||
Node: Operation Controls399691
|
||||
Node: Optional Features400649
|
||||
Node: Reporting Bugs410906
|
||||
Node: Major Differences From The Bourne Shell412100
|
||||
Node: GNU Free Documentation License428952
|
||||
Node: Indexes454129
|
||||
Node: Builtin Index454583
|
||||
Node: Reserved Word Index461410
|
||||
Node: Variable Index463858
|
||||
Node: Function Index479317
|
||||
Node: Concept Index492474
|
||||
Node: Top887
|
||||
Node: Introduction2797
|
||||
Node: What is Bash?3013
|
||||
Node: What is a shell?4127
|
||||
Node: Definitions6665
|
||||
Node: Basic Shell Features9616
|
||||
Node: Shell Syntax10835
|
||||
Node: Shell Operation11861
|
||||
Node: Quoting13154
|
||||
Node: Escape Character14454
|
||||
Node: Single Quotes14939
|
||||
Node: Double Quotes15287
|
||||
Node: ANSI-C Quoting16565
|
||||
Node: Locale Translation17818
|
||||
Node: Comments18714
|
||||
Node: Shell Commands19332
|
||||
Node: Simple Commands20204
|
||||
Node: Pipelines20835
|
||||
Node: Lists23578
|
||||
Node: Compound Commands25307
|
||||
Node: Looping Constructs26310
|
||||
Node: Conditional Constructs28773
|
||||
Node: Command Grouping39695
|
||||
Node: Coprocesses41174
|
||||
Node: GNU Parallel43006
|
||||
Node: Shell Functions46979
|
||||
Node: Shell Parameters52185
|
||||
Node: Positional Parameters56598
|
||||
Node: Special Parameters57498
|
||||
Node: Shell Expansions60835
|
||||
Node: Brace Expansion62772
|
||||
Node: Tilde Expansion65553
|
||||
Node: Shell Parameter Expansion67901
|
||||
Node: Command Substitution82033
|
||||
Node: Arithmetic Expansion83388
|
||||
Node: Process Substitution84320
|
||||
Node: Word Splitting85440
|
||||
Node: Filename Expansion87384
|
||||
Node: Pattern Matching89668
|
||||
Node: Quote Removal93366
|
||||
Node: Redirections93661
|
||||
Node: Executing Commands102904
|
||||
Node: Simple Command Expansion103574
|
||||
Node: Command Search and Execution105504
|
||||
Node: Command Execution Environment107840
|
||||
Node: Environment110824
|
||||
Node: Exit Status112483
|
||||
Node: Signals114153
|
||||
Node: Shell Scripts116120
|
||||
Node: Shell Builtin Commands118635
|
||||
Node: Bourne Shell Builtins120669
|
||||
Node: Bash Builtins141269
|
||||
Node: Modifying Shell Behavior169914
|
||||
Node: The Set Builtin170259
|
||||
Node: The Shopt Builtin180672
|
||||
Node: Special Builtins196471
|
||||
Node: Shell Variables197450
|
||||
Node: Bourne Shell Variables197887
|
||||
Node: Bash Variables199918
|
||||
Node: Bash Features228298
|
||||
Node: Invoking Bash229197
|
||||
Node: Bash Startup Files235146
|
||||
Node: Interactive Shells240249
|
||||
Node: What is an Interactive Shell?240659
|
||||
Node: Is this Shell Interactive?241308
|
||||
Node: Interactive Shell Behavior242123
|
||||
Node: Bash Conditional Expressions245498
|
||||
Node: Shell Arithmetic249499
|
||||
Node: Aliases252316
|
||||
Node: Arrays254864
|
||||
Node: The Directory Stack259948
|
||||
Node: Directory Stack Builtins260732
|
||||
Node: Controlling the Prompt263700
|
||||
Node: The Restricted Shell266446
|
||||
Node: Bash POSIX Mode268271
|
||||
Node: Job Control278324
|
||||
Node: Job Control Basics278784
|
||||
Node: Job Control Builtins283503
|
||||
Node: Job Control Variables288033
|
||||
Node: Command Line Editing289189
|
||||
Node: Introduction and Notation290860
|
||||
Node: Readline Interaction292483
|
||||
Node: Readline Bare Essentials293674
|
||||
Node: Readline Movement Commands295457
|
||||
Node: Readline Killing Commands296417
|
||||
Node: Readline Arguments298335
|
||||
Node: Searching299379
|
||||
Node: Readline Init File301565
|
||||
Node: Readline Init File Syntax302712
|
||||
Node: Conditional Init Constructs322899
|
||||
Node: Sample Init File325424
|
||||
Node: Bindable Readline Commands328541
|
||||
Node: Commands For Moving329745
|
||||
Node: Commands For History330888
|
||||
Node: Commands For Text335177
|
||||
Node: Commands For Killing338566
|
||||
Node: Numeric Arguments341047
|
||||
Node: Commands For Completion342186
|
||||
Node: Keyboard Macros346377
|
||||
Node: Miscellaneous Commands347064
|
||||
Node: Readline vi Mode352868
|
||||
Node: Programmable Completion353775
|
||||
Node: Programmable Completion Builtins361236
|
||||
Node: A Programmable Completion Example371122
|
||||
Node: Using History Interactively376374
|
||||
Node: Bash History Facilities377058
|
||||
Node: Bash History Builtins380059
|
||||
Node: History Interaction384056
|
||||
Node: Event Designators387020
|
||||
Node: Word Designators388239
|
||||
Node: Modifiers389876
|
||||
Node: Installing Bash391278
|
||||
Node: Basic Installation392415
|
||||
Node: Compilers and Options395106
|
||||
Node: Compiling For Multiple Architectures395847
|
||||
Node: Installation Names397510
|
||||
Node: Specifying the System Type398328
|
||||
Node: Sharing Defaults399044
|
||||
Node: Operation Controls399717
|
||||
Node: Optional Features400675
|
||||
Node: Reporting Bugs410932
|
||||
Node: Major Differences From The Bourne Shell412126
|
||||
Node: GNU Free Documentation License428978
|
||||
Node: Indexes454155
|
||||
Node: Builtin Index454609
|
||||
Node: Reserved Word Index461436
|
||||
Node: Variable Index463884
|
||||
Node: Function Index479343
|
||||
Node: Concept Index492500
|
||||
|
||||
End Tag Table
|
||||
|
||||
Reference in New Issue
Block a user