CVS commit: src/usr.bin/printf

2021-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu May 20 02:01:07 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/usr.bin/printf/printf.c Please note that diffs are not public d

CVS commit: src/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:41:19 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: Changes for POSIX conformance. 1. exit(1) with an error message on stderr if an I/O error occurs. 1a. To work properly when built into /bin/sh s

CVS commit: src/usr.bin/printf

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:29:18 UTC 2021 Modified Files: src/usr.bin/printf: printf.1 Log Message: Don't describe "%%: in the format as a format conversion, it isn't, it is an escaped literal '%' character. None of what applies to format conve

CVS commit: src/usr.bin/printf

2021-04-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 16 18:31:28 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: make value an int to avoid all the casts and conversion warnings. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/usr.bin

CVS commit: src/usr.bin/printf

2021-04-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 16 15:10:18 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: Change octal and hex parsing to not use strtoul so that they don't handle '-'. From Martijn van Duren. Also add a warning if the conversion f

CVS commit: src/usr.bin/printf

2020-06-29 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Jun 29 22:50:11 UTC 2020 Modified Files: src/usr.bin/printf: printf.1 Log Message: Add quotes around command substitution in the example so that it works regardless of IFS and buts. Requested by kre@ To generate a diff of this

CVS commit: src/usr.bin/printf

2020-06-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jun 26 22:05:05 UTC 2020 Modified Files: src/usr.bin/printf: printf.1 Log Message: Drop redundant quoting in the nested printf example. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.bin/printf/printf.1

CVS commit: src/usr.bin/printf

2020-06-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jun 26 21:03:56 UTC 2020 Modified Files: src/usr.bin/printf: printf.1 Log Message: Use ASCII single quote. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/printf/printf.1 Please note that diffs are no

CVS commit: src/usr.bin/printf

2020-06-26 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Jun 26 20:16:56 UTC 2020 Modified Files: src/usr.bin/printf: printf.1 Log Message: Try to improve markup to get a nicer PostScript output. While here edit slightly for consistency: get the octal character ranges in order, use \n

CVS commit: src/usr.bin/printf

2019-01-27 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 27 12:03:09 UTC 2019 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 callin

CVS commit: src/usr.bin/printf

2019-01-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Jan 26 15:22:54 UTC 2019 Modified Files: src/usr.bin/printf: printf.c Log Message: Always convert input numbers (from the command line) in the C locale, not as set in the environment. Conforms with POSIX spec. To generate a d

CVS commit: src/usr.bin/printf

2018-09-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Sep 10 14:42:29 UTC 2018 Modified Files: src/usr.bin/printf: printf.c Log Message: A truly ancient bug found by Edgar Fuss When printf is running builtin in a sh, global vars aren't reset to 0 between invocations. This affects

CVS commit: src/usr.bin/printf

2018-09-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 4 01:13:50 UTC 2018 Modified Files: src/usr.bin/printf: printf.c Log Message: Printf's that support \e for escape all seem to also support \E. Except us. Now we do as well. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/printf

2018-09-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Sep 3 04:10:20 UTC 2018 Modified Files: src/usr.bin/printf: printf.c Log Message: Tighten syntax a little (no more %*4.*2d nonsense). Include the format collected so far in "missing format char" err message. Minor KNF and whites

CVS commit: src/usr.bin/printf

2018-08-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Aug 31 17:27:35 UTC 2018 Modified Files: src/usr.bin/printf: printf.1 printf.c Log Message: PR standards/53563 POSIX requires that signed numbers (strings preceded by '+' or '-') be allowed as inputs to all of the integer format

CVS commit: src/usr.bin/printf

2018-07-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jul 25 15:35:27 UTC 2018 Modified Files: src/usr.bin/printf: printf.c Log Message: NFC: More KNF (remove () around returned constants). To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/usr.bin/printf/printf.c

CVS commit: src/usr.bin/printf

2018-07-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jul 25 14:41:52 UTC 2018 Modified Files: src/usr.bin/printf: printf.c Log Message: NFC: whitespace & KNF. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.bin/printf/printf.c Please note that diffs are not

CVS commit: src/usr.bin/printf

2018-07-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jul 24 20:58:40 UTC 2018 Modified Files: src/usr.bin/printf: printf.1 Log Message: Add the new formats to the list of format cracters (oops...) To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/printf/pr

CVS commit: src/usr.bin/printf

2018-07-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jul 24 20:49:20 UTC 2018 Modified Files: src/usr.bin/printf: printf.1 printf.c Log Message: Add support for F a and A formats (which go with the eEfgG formats already supported.) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/printf

2018-07-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jul 24 19:49:34 UTC 2018 Modified Files: src/usr.bin/printf: printf.1 Log Message: Correct a typo (off by one (key)) ... There is no 'w' format, but there is an 'e' To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/usr.bin/printf

2018-07-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jul 3 01:56:39 UTC 2018 Modified Files: src/usr.bin/printf: printf.c Log Message: Avoid printing error messages twice when an invalid escape sequence (\ sequence) is present in an arg to a %b conversion. To generate a diff of

CVS commit: src/usr.bin/printf

2018-07-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Jul 3 01:54:42 UTC 2018 Modified Files: src/usr.bin/printf: printf.c Log Message: >From leot@ on tech-userlevel: Avoid running off into oblivion when a format string, or arg to a %b conversion ends in an unescaped backslash. P

CVS commit: src/usr.bin/printf

2018-03-12 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Mar 12 09:29:43 UTC 2018 Modified Files: src/usr.bin/printf: printf.1 Log Message: Remove Tn. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/printf/printf.1 Please note that diffs are not public doma

CVS commit: src/usr.bin/printf

2018-03-11 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Mar 12 00:42:06 UTC 2018 Modified Files: src/usr.bin/printf: printf.1 Log Message: Explicitly mention use of -- for format strings beginning with -, per PR 21970. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.

CVS commit: src/usr.bin/printf

2013-07-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jul 16 17:48:22 UTC 2013 Modified Files: src/usr.bin/printf: Makefile printf.c Log Message: WARNS=6 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/printf/Makefile cvs rdiff -u -r1.35 -r1.36 src/u

CVS commit: src/usr.bin/printf

2011-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 15 23:11:49 UTC 2011 Modified Files: src/usr.bin/printf: printf.c Log Message: support grouping format. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/printf/printf.c Please note that diffs

CVS commit: src/usr.bin/printf

2010-04-05 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Apr 5 21:24:14 UTC 2010 Modified Files: src/usr.bin/printf: printf.1 Log Message: \\*(Pm -> \*(Pm To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/printf/printf.1 Please note that diffs are not publ