summaryrefslogtreecommitdiffstats
path: root/debian/patches/man-arithmetic.diff
blob: efef19cdf946a8d69af7e7f9b2ca481e2e362237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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