Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: ${(l[-3][0])var} to do left padding *without truncation*
On Sat, Aug 3, 2024 at 1:42 PM Stephane Chazelas <stephane@xxxxxxxxxxxx> wrote:
>
> And in $var:F[3]s/X/Y/ to repeat the substitution 3 times. This time no check
> for negative values.
On Sat, Aug 3, 2024 at 1:53 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> A closer examination of get_intarg() indicates that a negative return
> means a parse error
This may mean that the :F case is hiding a bug.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author