chiark / gitweb /
Disable all exported shell functions
[bash.git] / debian / patches / man-substring-exp.diff
1 # DP: Clarify documentation about substring expansion
2
3 --- a/bash/doc/bash.1
4 +++ b/bash/doc/bash.1
5 @@ -2758,6 +2758,9 @@
6  below).
7  If \fIoffset\fP evaluates to a number less than zero, the value
8  is used as an offset from the end of the value of \fIparameter\fP.
9 +Arithmetic expressions starting with a - must be separated by whitespace
10 +from the preceding : to be
11 +distinguished from the \fBUse Default Values\fP expansion.
12  If \fIlength\fP evaluates to a number less than zero, and \fIparameter\fP
13  is not \fB@\fP and not an indexed or associative array, it is interpreted
14  as an offset from the end of the value of \fIparameter\fP rather than