From: Matthias Klose <[email protected]> This addition to the documentation has been shipped in Debian's bash since version 2.05-6.
Co-authored-by: G. Branden Robinson --- doc/bash.1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/bash.1 b/doc/bash.1 index 92ed89fc..8c6b51a4 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -4211,6 +4211,12 @@ The format for arithmetic expansion is: \fB$((\fP\fIexpression\fP\fB))\fP .RE .PP +The old format ++.BI $[ expression ] +is deprecated +and may be removed in upcoming versions of +.BR bash . +.PP The .I expression undergoes the same expansions -- 2.51.0
