jdp
0fdbfe2bab
Back out revision 1.10. It broke the build of sh, which compiles
...
this file with warnx() defined as a macro.
1997-11-18 15:23:23 +00:00
jdp
c0275eb956
Fix: too many arguments for format string in 4 calls to warnx().
1997-11-18 05:45:19 +00:00
steve
c61e376617
#include <unistd.h> for getopt(3) call.
1997-08-07 21:47:31 +00:00
charnier
a42c5ad2d7
Correct Synopsys section.
1997-08-04 06:42:51 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
steve
aff0872665
-Wall cleaning.
1996-12-14 05:32:27 +00:00
steve
9ff459e9a2
Remove annoying -Wall warning.
1996-10-06 02:40:39 +00:00
peter
dd85f245b6
When used as a shell builtin, this program decoded a subset of arguments
...
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)
1996-10-01 04:56:59 +00:00
mpp
a556b6b70f
Correctly match the format flags and their descriptions.
...
Submitted by: Dave Glowacki <dglo@ssec.wisc.edu>
1996-04-09 21:46:24 +00:00
joerg
ea83bba5aa
Move out some of the shell builtin bogosity from printf's source to
...
sh's builtin/bltin.h.
1995-12-10 15:40:42 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
joerg
99ee13afa5
Make the syntax checks for the format string more strict. The string
...
"%8*s" is no longer considered to be a valid format description.
This closes PR bin/386.
1995-05-07 07:00:18 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00