mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 02:10:50 +02:00
fix for dequoting words in pretty-print mode; posix mode changes for readonly/export invalid identifier errors
This commit is contained in:
+10
-3
@@ -8680,6 +8680,13 @@ prefix.
|
||||
The @code{export} and @code{readonly} builtin commands display their
|
||||
output in the format required by @sc{posix}.
|
||||
|
||||
@item
|
||||
If the @code{export} and @code{readonly} builtin commands get an argument
|
||||
that is not a valid identifier, and they are not operating on shell
|
||||
functions, they return an error.
|
||||
This will cause a non-interactive shell to exit because these are
|
||||
special builtins.
|
||||
|
||||
@item
|
||||
The @code{trap} builtin displays signal names without the leading
|
||||
@code{SIG}.
|
||||
@@ -8895,9 +8902,9 @@ Starting with bash-4.4, Bash has begun deprecating older compatibility
|
||||
levels.
|
||||
Eventually, the options will be removed in favor of @env{BASH_COMPAT}.
|
||||
|
||||
Bash-5.0 is the final version for which there will be an individual shopt
|
||||
option for the previous version. Users should use @env{BASH_COMPAT}
|
||||
on bash-5.0 and later versions.
|
||||
Bash-5.0 was the final version for which there will be an individual shopt
|
||||
option for the previous version.
|
||||
Users should control the compatibility level with @env{BASH_COMPAT}.
|
||||
|
||||
The following table describes the behavior changes controlled by each
|
||||
compatibility level setting.
|
||||
|
||||
Reference in New Issue
Block a user