bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 2/7] doc/bash.1: Document deprecated syntax for arithmetic eva


From: Gioele Barabucci
Subject: [PATCH v2 2/7] doc/bash.1: Document deprecated syntax for arithmetic evaluation
Date: Mon, 22 Sep 2025 16:19:04 +0200

From: Matthias Klose <doko@debian.org>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]