summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
Commit message (Collapse)AuthorAgeFilesLines
* Back out revision 1.10. It broke the build of sh, which compilesjdp1997-11-181-4/+5
| | | | this file with warnx() defined as a macro.
* Fix: too many arguments for format string in 4 calls to warnx().jdp1997-11-181-5/+4
|
* #include <unistd.h> for getopt(3) call.steve1997-08-071-0/+1
|
* Correct Synopsys section.charnier1997-08-041-3/+3
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* -Wall cleaning.steve1996-12-141-2/+2
|
* Remove annoying -Wall warning.steve1996-10-061-1/+1
|
* When used as a shell builtin, this program decoded a subset of argumentspeter1996-10-011-4/+9
| | | | | | | | | | | known to printf(3) and then used printf() to format it... The only problem what the #define printf out1fmt. The code was behaving differently when run as a shell builtin since out1fmt() isn't printf(3). Simple hack. Print to a buffer and fputs (also #defined for sh) the result. This should fix the printf builtin problem in PR#1673, rather than leaving the call commented out. (printf.o was being statically linked in anyway, we might as well use it)
* Correctly match the format flags and their descriptions.mpp1996-04-091-1/+1
| | | | Submitted by: Dave Glowacki <dglo@ssec.wisc.edu>
* Move out some of the shell builtin bogosity from printf's source tojoerg1995-12-101-14/+1
| | | | sh's builtin/bltin.h.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Make the syntax checks for the format string more strict. The stringjoerg1995-05-071-12/+19
| | | | | | "%8*s" is no longer considered to be a valid format description. This closes PR bin/386.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+687
OpenPOWER on IntegriCloud