aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.c
Commit message (Expand)AuthorAgeFilesLines
* printf: Fix \c in %b in printf builtin exiting the shell after r337458Jilles Tjoelker2018-08-111-1/+1
* Fix printf(1) ignores width and precision in %b format.Pedro F. Giffuni2018-08-081-4/+8
* Revert r337440: the log message is wrong.Pedro F. Giffuni2018-08-081-8/+4
* Fix printf(1) ignores width and precision in %b format.Pedro F. Giffuni2018-08-071-4/+8
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* printf: Output formatted data directly, instead of via asprintf.Jilles Tjoelker2017-04-291-10/+6
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* sh: Fix compiler warnings related to duplicate or missing declarations.Jilles Tjoelker2015-03-011-1/+0
* Minor style knit.Pedro F. Giffuni2014-05-291-2/+1
* printf(1): warn about incomplete uses n$Pedro F. Giffuni2014-05-261-2/+16
* printf: Fix missing arguments for %u/%o/%x/%X after r265592.Jilles Tjoelker2014-05-131-1/+1
* printf: fix regression after illumos merges.Pedro F. Giffuni2014-05-111-3/+5
* prinf: replace use of alloca with variable length array.Pedro F. Giffuni2014-05-101-3/+1
* Fix the incorrect handling of %b and \c in printf(1)Pedro F. Giffuni2014-05-081-13/+15
* Add width and precision specifiers to printf(1) %n$.Pedro F. Giffuni2014-05-071-25/+90
* Add parameterized position handling to printf(1).Pedro F. Giffuni2014-04-211-0/+35
* Minor style(9) cleanupsPedro F. Giffuni2014-04-171-2/+2
* POSIX requires that non-existent or null arguments be treated as if aEitan Adler2012-12-181-1/+1
* sh: Prefer internal nextopt() to libc getopt().Jilles Tjoelker2012-09-151-4/+10
* Style cleanups for printf.Pedro F. Giffuni2012-01-121-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