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*



2024-08-04 08:53:17 +0100, Stephane Chazelas:
[...]
> Here's a patch doing 1 and returning errors for F[-1] I[-1]:
[...]

Oh, that's wrong when there's a l[-3][0][prefix] or
r[-3][0][suffix]. I suppose when truncation is disabled, prefix
and suffix should be added unconditionally and not truncated.

I'll see if I can come up with a better patch.

-- 
Stephane




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