summaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.c
AgeCommit message (Expand)Author
2008-08-02POSIX says that octal escapes have the format \ddd in the format string,David Schultz
2005-08-05Prefer {u,}intmax_t over the deprecated {u_,}quad_t.Stefan Farfeleder
2005-05-21Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov
2005-04-14Handle null characters in the format string. A \0 in the argument passed to %bStefan Farfeleder
2005-04-14No reason to write \a and \v as octal escape sequences.Stefan Farfeleder
2005-04-14- Move parts of the long main() function into a new function doformat().Stefan Farfeleder
2005-04-13Assign 0.0 to the variable passed to getfloating() if the argument is missing.Stefan Farfeleder
2005-04-11Replace buggy for-loops to skip certain character with strspn(). If *fmt wasStefan Farfeleder
2005-03-21Support the L modifier for floating-point values as an extension.David Schultz
2004-09-24Allow %' to be used as a format flag by printf(1). This makes itGiorgos Keramidas
2004-06-05Enable support for the %a, %A, and %F format specifiers.David Schultz
2004-03-07Make it possible for the %[eEfgG] formats to not result in an errorColin Percival
2002-09-04ANSIify function definitions.David Malone
2002-06-19Fix duplicate % in %b format introduced in rev 1.22.Tim J. Robbins
2002-06-19Let printf(1) tell the difference between zero width/precision andTim J. Robbins
2002-06-19Allow format strings containing "%%" to be reused.Tim J. Robbins
2002-06-19Allow `%' to be written out with an octal escape (\45 or \045).Tim J. Robbins
2002-04-25Handle numbers larger than QUAD_MAX for unsigned conversions correctly.Tim J. Robbins
2002-04-23 - printf shouldn't bail out if a conversion fails, it should just keepJuli Mallett
2002-03-22remove __PWarner Losh
2001-12-03Warns cleanups.David Malone
2001-02-10Localize it (LC_NUMERIC)Andrey A. Chernov
2000-12-21Fix printf(1) for cases where a long string with no format specifiers isBen Smithurst
2000-09-04When we have both a rcsid and sccsid, ifdef 0 the sccsid. ThisWarner Losh
2000-07-10Extend to deal with 64 bit numeric arguments.Stefan Eßer
2000-04-20Remove redundat extern declarationMartin Cracauer
1998-12-07Fixed warnx format errors in printf and csh, and snprintf format errorsBruce Evans
1997-11-18Back out revision 1.10. It broke the build of sh, which compilesJohn Polstra
1997-11-18Fix: too many arguments for format string in 4 calls to warnx().John Polstra
1997-08-07#include <unistd.h> for getopt(3) call.Steve Price
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1996-12-14-Wall cleaning.Steve Price
1996-10-06Remove annoying -Wall warning.Steve Price
1996-10-01When used as a shell builtin, this program decoded a subset of argumentsPeter Wemm
1995-12-10Move out some of the shell builtin bogosity from printf's source toJoerg Wunsch
1995-05-30Remove trailing whitespace.Rodney W. Grimes
1995-05-07Make the syntax checks for the format string more strict. The stringJoerg Wunsch
1994-05-27BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes