Re: [50 character or so descriptive subject here (for reference)]
From:
Luc Teirlinck
Subject:
Re: [50 character or so descriptive subject here (for reference)]
Date:
Tue, 31 Dec 2002 12:27:40 -0600 (CST)
Paul Jarc wrote:
teirllm@dms.auburn.edu wrote:
> As a secondary suggestion, it would be nice if ${a:-3} and ${b[@]:-3}
> would work as expected,
:- already means something different, so you have to separate : and -
with a space. These work: ${a: -3} ${b[@]: -3}.
Indeed, I somehow forgot about the other meaning of :- . Thanks. I
still do not understand the actual expansion of ${b[@]: -3}, however.
Sincerely,
Luc.