aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r244407,r244409:Eitan Adler2013-02-031-1/+1
* MFC: r230027Pedro F. Giffuni2012-02-031-18/+18
* printf: Allow multibyte characters for '<char> form, avoid negative codes.Jilles Tjoelker2011-05-281-4/+18
* printf: Note that this is used both as a normal program and a shell builtin.Jilles Tjoelker2011-03-011-0/+4
* printf: Do not use sh memory functions in sh builtin.Jilles Tjoelker2010-12-291-13/+0
* sh: Make warnings in the printf builtin non-fatal, like in the program.Jilles Tjoelker2010-12-201-17/+13
* Revert r216423 per request from Jilles.Xin LI2010-12-141-10/+10
* When printf is being used as a sh(1) builtin, it can not callXin LI2010-12-141-3/+1
* We work on ctype's and not only on numbers so set LC_ALL instead ofXin LI2010-12-141-1/+1
* IEEE Std 1003.1-2008, Section 1.4, Utility Description Defaults saysXin LI2010-12-141-10/+10
* Make use of EX_USAGE for usage().Xin LI2010-12-141-2/+4
* The only caller of mknum() provides a char instead of an int, so make itXin LI2010-12-131-2/+2
* Move locale.h include to the beginning header section as pointed out byXin LI2010-12-131-3/+2
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+0
* printf: Remove support for building as a csh builtin.Jilles Tjoelker2010-12-081-8/+2
* sh: Add printf builtin.Jilles Tjoelker2010-11-191-6/+24
* POSIX says that octal escapes have the format \ddd in the format string,David Schultz2008-08-021-1/+2
* Prefer {u,}intmax_t over the deprecated {u_,}quad_t.Stefan Farfeleder2005-08-051-17/+18
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-05-211-1/+1
* Handle null characters in the format string. A \0 in the argument passed to %bStefan Farfeleder2005-04-141-7/+13
* No reason to write \a and \v as octal escape sequences.Stefan Farfeleder2005-04-141-2/+2
* - Move parts of the long main() function into a new function doformat().Stefan Farfeleder2005-04-141-153/+160
* Assign 0.0 to the variable passed to getfloating() if the argument is missing.Stefan Farfeleder2005-04-131-1/+3
* Replace buggy for-loops to skip certain character with strspn(). If *fmt wasStefan Farfeleder2005-04-111-3/+3
* Support the L modifier for floating-point values as an extension.David Schultz2005-03-211-6/+34
* Allow %' to be used as a format flag by printf(1). This makes itGiorgos Keramidas2004-09-241-1/+1
* Enable support for the %a, %A, and %F format specifiers.David Schultz2004-06-051-1/+4
* Make it possible for the %[eEfgG] formats to not result in an errorColin Percival2004-03-071-1/+1
* ANSIify function definitions.David Malone2002-09-041-25/+14
* Fix duplicate % in %b format introduced in rev 1.22.Tim J. Robbins2002-06-191-5/+6
* Let printf(1) tell the difference between zero width/precision andTim J. Robbins2002-06-191-7/+9
* Allow format strings containing "%%" to be reused.Tim J. Robbins2002-06-191-2/+2
* Allow `%' to be written out with an octal escape (\45 or \045).Tim J. Robbins2002-06-191-1/+5
* Handle numbers larger than QUAD_MAX for unsigned conversions correctly.Tim J. Robbins2002-04-251-50/+96
* - printf shouldn't bail out if a conversion fails, it should just keepJuli Mallett2002-04-231-37/+66
* remove __PWarner Losh2002-03-221-9/+9
* Warns cleanups.David Malone2001-12-031-5/+5
* Localize it (LC_NUMERIC)Andrey A. Chernov2001-02-101-0/+7
* Fix printf(1) for cases where a long string with no format specifiers isBen Smithurst2000-12-211-4/+16
* When we have both a rcsid and sccsid, ifdef 0 the sccsid. ThisWarner Losh2000-09-041-0/+2
* Extend to deal with 64 bit numeric arguments.Stefan Eßer2000-07-101-14/+17
* Remove redundat extern declarationMartin Cracauer2000-04-201-1/+2
* Fixed warnx format errors in printf and csh, and snprintf format errorsBruce Evans1998-12-071-7/+11
* Back out revision 1.10. It broke the build of sh, which compilesJohn Polstra1997-11-181-4/+5
* Fix: too many arguments for format string in 4 calls to warnx().John Polstra1997-11-181-5/+4
* #include <unistd.h> for getopt(3) call.Steve Price1997-08-071-0/+1
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
* -Wall cleaning.Steve Price1996-12-141-2/+2
* Remove annoying -Wall warning.Steve Price1996-10-061-1/+1
* When used as a shell builtin, this program decoded a subset of argumentsPeter Wemm1996-10-011-4/+9