1
0
Fork 0
bash/debian/patches/man-arithmetic.diff
Daniel Baumann fc8a52c443
Adding debian version 5.2.37-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:22 +02:00

14 lines
372 B
Diff

# DP: document deprecated syntax for arithmetic evaluation.
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -3580,6 +3580,9 @@ and the substitution of the result. The
\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