1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-21 07:26:05 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
Oliver Kiddle dfb7ac94bb 49561: add zformat -F option, similar to -f but ternary expressions check for existence instead of doing math evaluation 2021-11-12 20:33:52 +01:00
Daniel Shahaf 525faae549 45137: zformat: Allow the specifying minimum width and a dot with an empty maximum width.
Before this commit, format specs such as '%5.s' would be printed
literally.  Now, they are treated as equivalent to '%5s'.

The '.' character is not allowed to be used in specs, so there is no
incompatibility.
2019-12-26 04:21:47 +00:00
Daniel Shahaf 8e0253af02 45138: Add zformat unit tests. 2019-12-26 04:20:24 +00:00