bug-bash
[Top][All Lists]
Advanced

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

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


From: Gioele Barabucci
Subject: [PATCH 2/7] doc/bash.1: Document deprecated syntax for arithmetic evaluation
Date: Sat, 20 Sep 2025 23:27:30 +0200

From: Matthias Klose <doko@debian.org>

This addition to the documentation has been shipped in Debian's bash
since version 2.05-6.
---
 doc/bash.1 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/bash.1 b/doc/bash.1
index 92ed89fc..6b4f937b 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -4211,6 +4211,9 @@ The format for arithmetic expansion is:
 \fB$((\fP\fIexpression\fP\fB))\fP
 .RE
 .PP
+The old format \fB$[\fP\fIexpression\fP\fB]\fP is deprecated and will
+be removed in upcoming versions of bash.
+.PP
 The
 .I expression
 undergoes the same expansions
-- 
2.51.0




reply via email to

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