1135
Comment: first-line
|
1184
added globstar
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
||globstar||4.0-alpha|| ||mapfile||4.0-alpha|| |
Is there a list of which features were added to specific releases (versions) of Bash?
Here are some links to official Bash documentation:
NEWS: a file tersely listing the notable changes between the current and previous versions
CHANGES: a complete bash change history
COMPAT: compatibility issues between bash3 and previous versions
Here's a partial list of the changes, in a more compact format:
Feature |
Added in version |
globstar |
4.0-alpha |
mapfile |
4.0-alpha |
x+=string |
3.1-alpha1 |
printf -v var |
3.1-alpha1 |
{x..y} |
3.0-alpha |
${!array[@]} |
3.0-alpha |
[[ =~ |
3.0-alpha |
<<< |
2.05b-alpha1 |
i++ |
2.04-devel |
for ((;;)) |
2.04-devel |
/dev/fd/N, /dev/tcp/host/port, etc. |
2.04-devel |
a=(*.txt) file expansion |
2.03-alpha |
extglob |
2.02-alpha1 |
[[ |
2.02-alpha1 |
builtin printf |
2.02-alpha1 |
$(< filename) |
2.02-alpha1 |
** (exponentiation) |
2.02-alpha1 |
\xNNN |
2.02-alpha1 |
(( )) |
2.0-beta2 |