Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] git-completion.bash: replace zsh notation that breaks bash 3.X

From: Brandon Casey <hidden>
Date: 2016-06-15 22:55:48

Possibly related (same subject, not in this thread)

On Fri, Jan 18, 2013 at 11:08 AM, Junio C Hamano [off-list ref] wrote:
Brandon Casey [off-list ref] writes:
quoted
On Fri, Jan 18, 2013 at 7:02 AM, Andreas Schwab [off-list ref] wrote:
quoted
Brandon Casey [off-list ref] writes:
quoted
+                             array[$(($#array+1))]="$c"
You don't need $(( )) since the array index is already evaluated as an
arithmethic expression.
Ah, I didn't know that.  Thanks.

I think Junio will probably fix this up if he thinks it's worth it,
but I can resubmit if necessary.
Please; I do not have mental bandwidth to keep track of contrib/
material myself.
No problem.

-Brandon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help