NetBSD/usr.bin/jot
jdolecek 507cbfd5d0 Use patch provided Paul Janzen <pjanzen@OpenBSD.org> to fix
bin/12316 more completely.
Highlights:
* we only allow explicitly specified set of (numberic) formats
* %% is correctly skipped, extra %foo formats are detected
* '*' in format specification is not allowed

The code in getformat() is slighly different to the OpenBSD version
of fix - the list of allowed printf(3) flags is explicit and the
condition checking 'chardata' is written slighly differently.

Also pull-in some cosmetic changes from OpenBSD - s/isdefault()/is_default()/,
error() -> errx(), usage().
2001-03-14 07:50:06 +00:00
..
Makefile More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
jot.1
jot.c Use patch provided Paul Janzen <pjanzen@OpenBSD.org> to fix 2001-03-14 07:50:06 +00:00