commit | d52e76d50879542702b89cc8cc873358232d2e3f | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sun Dec 09 13:57:04 2012 -0600 |
committer | Rob Landley <rob@landley.net> | Sun Dec 09 13:57:04 2012 -0600 |
tree | 3ec9ca70a9b63c0e9423aeab1e119ef355fe4d87 | |
parent | 7c6209d6c336df74984e62aa88679c06641ae309 [diff] |
Meddle. The <1 has to come first in the option string, normalize whitespace, sprintf of %d maxes out at -2 billion ala 12 bytes with null terminator so we don't need a length check in a 4k buffer, use the "%*s" feature of printf to prepend whitespace for us, take advantage of c99 defining ! to return 0 or 1.