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 Sun, Aug 4, 2024 at 7:15 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> I have a slight preference for leaving get_intarg() as it is, and
> instead have the caller check for a leading '-' before calling it.

... but that depends on whether "-" is supposed to be a signifier like
in printf, or whether a negative is meant to be computable.  Hm.




Messages sorted by: Reverse Date, Date, Thread, Author