summaryrefslogtreecommitdiff
path: root/debian/patches/man-arithmetic.diff
blob: 3c150d5a9e3fd34d533cc2158b1b68aedf2b9d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# DP: document deprecated syntax for arithmetic evaluation.

Index: b/doc/bash.1
===================================================================
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -3152,6 +3152,9 @@
 \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
 is treated as if it were within double quotes, but a double quote