<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/printf, branch releng/13.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-10-24T18:13:18Z</updated>
<entry>
<title>Purge more stray embedded $FreeBSD$ strings</title>
<updated>2023-10-24T18:13:18Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-09-25T14:54:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=de270f81b246e154640c0d250696c458ff1c0e3b'/>
<id>urn:sha1:de270f81b246e154640c0d250696c458ff1c0e3b</id>
<content type='text'>
These do not use __FBSDID but instead use bare char arrays.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41957

(cherry picked from commit eba230afba4932f02a1ca44efc797cf7499a5cb0)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line nroff pattern</title>
<updated>2023-08-23T17:43:32Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=24115b70d6d614ed7ac5cfc4f51fa9d6cfe8b1b2'/>
<id>urn:sha1:24115b70d6d614ed7ac5cfc4f51fa9d6cfe8b1b2</id>
<content type='text'>
Remove /^\.\\"\s*\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit b2c76c41be32)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9'/>
<id>urn:sha1:023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
</content>
</entry>
<entry>
<title>printf(1): Add EXAMPLES section</title>
<updated>2020-07-01T16:33:32Z</updated>
<author>
<name>Fernando Apesteguía</name>
<email>fernape@FreeBSD.org</email>
</author>
<published>2020-07-01T16:33:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5dbd4b8e96521244525a0fee29694719c873bd75'/>
<id>urn:sha1:5dbd4b8e96521244525a0fee29694719c873bd75</id>
<content type='text'>
 * Small addition with four simple examples
 * While here, remove three obsolete .Tn macros

Approved by:	manpages (gbe)
Differential Revision:	https://reviews.freebsd.org/D25462
</content>
</entry>
<entry>
<title>printf(1): Note that \c only works in %b strings</title>
<updated>2019-07-29T20:43:07Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2019-07-29T20:43:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2bf7d924ff5b2f17550003b72a239b9e146548b8'/>
<id>urn:sha1:2bf7d924ff5b2f17550003b72a239b9e146548b8</id>
<content type='text'>
PR:		238313
Reported by:	Andras Farkas
MFC after:	1 week
</content>
</entry>
<entry>
<title>printf: Add test for width and precision in %b format</title>
<updated>2018-08-13T21:54:27Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2018-08-13T21:54:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17fffb23f6e7eb7ec64269676682e16b44094392'/>
<id>urn:sha1:17fffb23f6e7eb7ec64269676682e16b44094392</id>
<content type='text'>
PR:		229641
Submitted by:	pfg
</content>
</entry>
<entry>
<title>printf: Fix \c in %b in printf builtin exiting the shell after r337458</title>
<updated>2018-08-11T11:13:34Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2018-08-11T11:13:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=051c7fdd5c7cc8d3f3cf33da7d6102a31d8a00c4'/>
<id>urn:sha1:051c7fdd5c7cc8d3f3cf33da7d6102a31d8a00c4</id>
<content type='text'>
SVN r337458 erroneously partially reverted r265885.

This is immediately visible when running the Kyua/ATF tests for
usr.bin/printf, which actually test sh's printf builtin.

PR:		229641
</content>
</entry>
<entry>
<title>Fix printf(1) ignores width and precision in %b format.</title>
<updated>2018-08-08T15:25:01Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-08-08T15:25:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=702da35288ad1d3d97b4e3cacbfa83e494b74cf7'/>
<id>urn:sha1:702da35288ad1d3d97b4e3cacbfa83e494b74cf7</id>
<content type='text'>
The precision with the conversion specifier b is specified by POSIX: see
point 7 in the reference documentation.

This corrects previous wrong log in r337440.

Reference: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html

PR:	229641
Reported by:	Rudolf Cejka
Submitted by:	Garrett D'Amore (illumos)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Revert r337440: the log message is wrong.</title>
<updated>2018-08-08T15:12:32Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-08-08T15:12:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=94e460157dfd5f00a7e2eefce10137d3a5f8dd6e'/>
<id>urn:sha1:94e460157dfd5f00a7e2eefce10137d3a5f8dd6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix printf(1) ignores width and precision in %b format.</title>
<updated>2018-08-07T23:03:50Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-08-07T23:03:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e21ce9d742cd5ba8441f80463b850d3196a986a1'/>
<id>urn:sha1:e21ce9d742cd5ba8441f80463b850d3196a986a1</id>
<content type='text'>
The precision with behavior is "unspecified" by POSIX (as of 2018), but
most implementations seem to have taken it to be treated the same as for
"s"; applied after the unescaping.
Adopt the same treatment on our printf.

PR:	229641
Submitted by:	Garrett D'Amore (illumos)
</content>
</entry>
</feed>
