bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Negative indexes in ${arr[@]:off:length}


From: Maarten Billemont
Subject: Re: Negative indexes in ${arr[@]:off:length}
Date: Wed, 29 Jun 2011 13:55:57 +0200

> Since ${arr[-1]} already does exactly this, I figure it would merely add to 
> the syntax' consistency.

Consider the fact that ${arr[x]} is in fact the equivalent of ${arr[@]:x:1}.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]