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 12:53 AM Stephane Chazelas <stephane@xxxxxxxxxxxx> wrote:
>
> -get_intarg(char **s, int *delmatchp)
> +get_intarg(char **s, int *delmatchp, int *result)

I have a slight preference for leaving get_intarg() as it is, and
instead have the caller check for a leading '-' before calling it.




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