CVS commit: src/usr.bin/printf

2024-11-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 24 12:33:31 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 Log Message: Random minor wording and markup cleanups. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/printf/printf.1 Please note

CVS commit: src/usr.bin/printf

2024-11-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 24 12:33:31 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 Log Message: Random minor wording and markup cleanups. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/printf/printf.1 Please note

CVS commit: src/usr.bin/printf

2024-11-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 24 12:33:00 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: Improve detection and diagnosis of invalid values for conversions. (In particular, integer conversions contain no spaces, and must always contain

CVS commit: src/usr.bin/printf

2024-11-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Nov 24 12:33:00 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: Improve detection and diagnosis of invalid values for conversions. (In particular, integer conversions contain no spaces, and must always contain

CVS commit: src/usr.bin/printf

2024-08-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Aug 7 15:40:03 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: Correctly handle extracting wide chars from empty strings. Fix a (probably would have rarely been seen) bug I installed yesterday. It turns out

CVS commit: src/usr.bin/printf

2024-08-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Aug 7 15:40:03 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: Correctly handle extracting wide chars from empty strings. Fix a (probably would have rarely been seen) bug I installed yesterday. It turns out

CVS commit: src/usr.bin/printf

2024-08-06 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Tue Aug 6 17:23:01 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 Log Message: printf(1): misc tweaks Move the advise about getopt's "--" to where the format is disussed. Use .Vt for types. To generate a diff of this commi

CVS commit: src/usr.bin/printf

2024-08-06 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Tue Aug 6 17:23:01 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 Log Message: printf(1): misc tweaks Move the advise about getopt's "--" to where the format is disussed. Use .Vt for types. To generate a diff of this commi

CVS commit: src/usr.bin/printf

2024-08-06 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Tue Aug 6 17:18:01 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 Log Message: printf(1): move \e description to its lexicographic place To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.bin/printf/print

CVS commit: src/usr.bin/printf

2024-08-06 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Tue Aug 6 17:18:01 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 Log Message: printf(1): move \e description to its lexicographic place To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/usr.bin/printf/print

CVS commit: src/usr.bin/printf

2024-08-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Aug 6 14:55:48 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 printf.c Log Message: Add %C format conversion and -L option to printf(1) %C does what everyone always thought %c should do, but doesn't, and operates rather

CVS commit: src/usr.bin/printf

2024-08-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Aug 6 14:55:48 UTC 2024 Modified Files: src/usr.bin/printf: printf.1 printf.c Log Message: Add %C format conversion and -L option to printf(1) %C does what everyone always thought %c should do, but doesn't, and operates rather

CVS commit: src/usr.bin/printf

2024-08-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Aug 6 07:48:16 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: PR bin/58534 -- printf(1) source code comment fix Update the comment near the start of main() in printf.c so it explains what is really happening

CVS commit: src/usr.bin/printf

2024-08-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Aug 6 07:48:16 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: PR bin/58534 -- printf(1) source code comment fix Update the comment near the start of main() in printf.c so it explains what is really happening

CVS commit: src/usr.bin/printf

2024-07-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Jul 18 12:08:11 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: Fix typo in comment. Reported by Emanuele Torre in PR 58439. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/usr.bin/printf/p

CVS commit: src/usr.bin/printf

2024-07-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Jul 18 12:08:11 UTC 2024 Modified Files: src/usr.bin/printf: printf.c Log Message: Fix typo in comment. Reported by Emanuele Torre in PR 58439. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/usr.bin/printf/p

Re: CVS commit: src/usr.bin/printf

2020-06-29 Thread Robert Elz
Date:Sun, 28 Jun 2020 22:58:52 +0300 From:Valery Ushakov Message-ID: <20200628195852.gc20...@pony.stderr.spb.ru> | but I'd expect people that actually use IFS with octal digits | or a backslash to also understand and know how to add necessary | quoting in that c

Re: CVS commit: src/usr.bin/printf

2020-06-28 Thread Valery Ushakov
On Sun, Jun 28, 2020 at 21:52:23 +0700, Robert Elz wrote: > Date:Fri, 26 Jun 2020 22:05:05 + > From:"Valeriy E. Ushakov" > Message-ID: <20200626220505.e9030f...@cvs.netbsd.org> > > | Modified Files: > | src/usr.bin/printf: printf.1 > | > | Log Message:

Re: CVS commit: src/usr.bin/printf

2020-06-28 Thread Robert Elz
Date:Fri, 26 Jun 2020 22:05:05 + From:"Valeriy E. Ushakov" Message-ID: <20200626220505.e9030f...@cvs.netbsd.org> | Modified Files: | src/usr.bin/printf: printf.1 | | Log Message: | Drop redundant quoting in the nested printf example. I don't think t

Re: CVS commit: src/usr.bin/printf

2019-07-22 Thread Tobias Nygren
On Tue, 23 Jul 2019 00:31:32 +0700 Robert Elz wrote: > Date:Mon, 22 Jul 2019 12:23:35 +0200 > From:Tobias Nygren > Message-ID: <20190722122335.55c0d421a18a082c8d67b...@netbsd.org> > > | Please exercise caution when changing established userland behaviour. > | Th

Re: CVS commit: src/usr.bin/printf

2019-07-22 Thread Robert Elz
Date:Mon, 22 Jul 2019 12:23:35 +0200 From:Tobias Nygren Message-ID: <20190722122335.55c0d421a18a082c8d67b...@netbsd.org> | Please exercise caution when changing established userland behaviour. | This change broke the pkgsrc/lang/openjdk8(1) build. I stand behind

CVS commit: src/usr.bin/printf

2019-07-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jul 22 17:34:31 UTC 2019 Modified Files: src/usr.bin/printf: printf.c Log Message: Amend the previous change: we can have (almost) the best of both worlds, as when the first arg (which should be the format) contains no % conversi

CVS commit: src/usr.bin/printf

2019-07-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jul 22 17:34:31 UTC 2019 Modified Files: src/usr.bin/printf: printf.c Log Message: Amend the previous change: we can have (almost) the best of both worlds, as when the first arg (which should be the format) contains no % conversi

Re: CVS commit: src/usr.bin/printf

2019-07-22 Thread Robert Elz
Date:Mon, 22 Jul 2019 12:23:35 +0200 From:Tobias Nygren Message-ID: <20190722122335.55c0d421a18a082c8d67b...@netbsd.org> | This change broke the pkgsrc/lang/openjdk8(1) build. That it is broken and ought to be patched upstream, it is quite clear that printf is requ

Re: CVS commit: src/usr.bin/printf

2019-07-22 Thread Tobias Nygren
On Sun, 21 Jul 2019 15:25:39 + Robert Elz wrote: > Module Name: src > Committed By: kre > Date: Sun Jul 21 15:25:39 UTC 2019 > > Modified Files: > src/usr.bin/printf: printf.c > > Log Message: > Stop assuming that printf handles options in any way at all > (it doesn't - that

CVS commit: src/usr.bin/printf

2019-07-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jul 21 15:25:39 UTC 2019 Modified Files: src/usr.bin/printf: printf.c Log Message: Stop assuming that printf handles options in any way at all (it doesn't - that is, shouldn't) which includes processing -- as an "end of options".

CVS commit: src/usr.bin/printf

2019-07-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jul 21 15:25:39 UTC 2019 Modified Files: src/usr.bin/printf: printf.c Log Message: Stop assuming that printf handles options in any way at all (it doesn't - that is, shouldn't) which includes processing -- as an "end of options".

Re: CVS commit: src/usr.bin/printf

2019-01-27 Thread Robert Elz
Actually, I suspect now that what I remember reading was the rationale in the page in XCU section 4 for the printf command. kre

Re: CVS commit: src/usr.bin/printf

2019-01-27 Thread Robert Elz
Date:Sun, 27 Jan 2019 18:42:22 +0300 From:Valery Ushakov Message-ID: <20190127154222.gg18...@pony.stderr.spb.ru> | This was changed in Issue 7. The link to the Austin group | interpretations repository seems to be broken, though. Where can I | find the text fo

Re: CVS commit: src/usr.bin/printf

2019-01-27 Thread Valery Ushakov
On Sun, Jan 27, 2019 at 12:03:09 +, Robert Elz wrote: > Modified Files: > src/usr.bin/printf: printf.c > > Log Message: > Revert previous, it was based upon a misreading of the POSIX > spec. POSIX requires "as if by calling strtod()" which we > did already ... by calling strtod(). G