Date: Mon, 29 Apr 2002 09:45:16 -0700 (PDT) From: "J. Mallett" <jmallett@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/printf Makefile printf.1 printf.c Message-ID: <200204291645.g3TGjG826691@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2002/04/29 09:45:16 PDT
Modified files: (Branch: RELENG_4)
usr.bin/printf Makefile printf.1 printf.c
Log:
MFC printf(1) changes.
Notably revision 1.20 of printf.c and revision 1.21 of printf.1:
- printf shouldn't bail out if a conversion fails, it should just keep
processing them.
- \c escape to immediately stop output (similar to echo's \c)
- \0NNN should be allowed for octal character escapes (instead of just \NNN)
- %b conversion, which is like %s but interprets \n \t etc. inside the
string is missing.
And revision 1.21 of printf.c:
Handle numbers larger than QUAD_MAX for unsigned conversions correctly.
Exit with nonzero status if a conversion failed.
Play nice if used as a shell builtin (currently disabled).
PR: 35616 (some of it)
Revision Changes Path
1.1.1.1.14.1 +1 -0 src/usr.bin/printf/Makefile
1.8.2.6 +34 -21 src/usr.bin/printf/printf.1
1.12.6.6 +138 -63 src/usr.bin/printf/printf.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204291645.g3TGjG826691>
