NetBSD/usr.bin/jot
kamil 5dc82c03ce Generate format after setting the prec value
Otherwise we end up with setting invalid printf format: "%.-1f" (from
"if (snprintf(p, sz, "%%.%df", prec) >= (int)sz)") for prec equal to -1,
which is not canonical (rejected by gcc and clang when used explicitly).

Detected by ASan (MKSANITIZER) for "jot 8".
2020-06-14 01:26:46 +00:00
..
jot.1 Document the default values for options in a way that hopefully makes 2020-04-25 11:11:33 +00:00
jot.c Generate format after setting the prec value 2020-06-14 01:26:46 +00:00
Makefile