| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=148721
|
| |
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147370
|
| |
|
|
| |
Notes:
svn path=/head/; revision=146466
|
| |
|
|
| |
Notes:
svn path=/head/; revision=145084
|
| |
|
|
|
|
|
| |
still results in trucation but this is be much harder to fix.
Notes:
svn path=/head/; revision=145078
|
| |
|
|
| |
Notes:
svn path=/head/; revision=145074
|
| |
|
|
| |
Notes:
svn path=/head/; revision=145063
|
| |
|
|
|
|
|
| |
- Rewrite the loop in main() to be more understandable.
Notes:
svn path=/head/; revision=145061
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=145027
|
| |
|
|
|
|
|
|
|
|
| |
'\0' (eg in the invocation 'printf %'), the for-loop would miss the terminating
null character.
MFC after: 1 week
Notes:
svn path=/head/; revision=144902
|
| |
|
|
|
|
|
|
|
| |
When L is omitted, double precision is used, so printf(1) gives
reproducable results. When L is specified, long double precision is
used, which may improve precision, depending on the machine.
Notes:
svn path=/head/; revision=143906
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140368
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
possible to print the thousands separator in the locale setups that
have one, by something like this:
$ env -i LC_NUMERIC=en_US.ISO8859-1 ./printf "%'0.2f\n" 12345
12,345.00
Reviewed by: das
Notes:
svn path=/head/; revision=135751
|
| |
|
|
|
|
|
| |
Noticed by: ru
Notes:
svn path=/head/; revision=131519
|
| |
|
|
|
|
|
| |
by POSIX.
Notes:
svn path=/head/; revision=131511
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131507
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131491
|
| |
|
|
| |
Notes:
svn path=/head/; revision=130117
|
| |
|
|
|
|
|
|
| |
- Document the way infinity and NaN are printed.
- Un-document the non-existent %w specifier.
Notes:
svn path=/head/; revision=130116
|
| |
|
|
| |
Notes:
svn path=/head/; revision=130115
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
being reported by /usr/bin/printf.
This bug has been around for 22 months... either nobody uses printf
with floating-point values, or people are forgetting to check their
return codes.
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=126729
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
Notes:
svn path=/head/; revision=102944
|
| |
|
|
| |
Notes:
svn path=/head/; revision=100045
|
| |
|
|
| |
Notes:
svn path=/head/; revision=98426
|
| |
|
|
|
|
|
|
|
|
|
| |
unspecified width/precision.
PR: 39116
Submitted by: Egil Brendsdal <egilb@ife.no>
MFC after: 1 week
Notes:
svn path=/head/; revision=98424
|
| |
|
|
|
|
|
|
|
| |
PR: 39116
Submitted by: Egil Brendsdal <egilb@ife.no>
MFC after: 1 week
Notes:
svn path=/head/; revision=98420
|
| |
|
|
|
|
|
|
|
| |
PR: 39116
Submitted by: Egil Brendsdal <egilb@ife.no>
MFC after: 1 week
Notes:
svn path=/head/; revision=98419
|
| |
|
|
| |
Notes:
svn path=/head/; revision=97643
|
| |
|
|
| |
Notes:
svn path=/head/; revision=97541
|
| |
|
|
|
|
|
|
|
|
|
| |
Exit with nonzero status if a conversion failed.
Play nice if used as a shell builtin (currently disabled).
Submitted by: bde (partially)
Approved by: mike
Notes:
svn path=/head/; revision=95409
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 I may not be any poet, but in lieu of an in-tree regression test:
ref5% ./printf '%s%b%b%c%s%d\n' 'PR' '\0072' '\t' '3' '56' 0x10
PR: 35616
Submitted by: tjr
MFC after: 1 week
Notes:
svn path=/head/; revision=95300
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95124
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92921
|
| |
|
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
Notes:
svn path=/head/; revision=90415
|
| |
|
|
|
|
|
| |
PR: docs/30731
Notes:
svn path=/head/; revision=89426
|
| |
|
|
|
|
|
|
|
|
|
| |
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
Notes:
svn path=/head/; revision=87628
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87298
|
| |
|
|
|
|
|
|
| |
pages; rename it to DIAGNOSTICS. Also use the .Ex macro while I'm
here.
Notes:
svn path=/head/; revision=86824
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used so often that it's worth keeping it as a builtin.
Now that all the printf invocations from within the system startup
scripts, we can safely remove it.
Urged by: sheldonh :)
No MFC is planned so far because it may break compatibility and
violate POLA.
Notes:
svn path=/head/; revision=86692
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79755
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79366
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72313
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72304
|
| |
|
|
|
|
|
|
|
| |
followed by a %d (probably others too) format specifier.
Reviewed by: audit
Notes:
svn path=/head/; revision=70256
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70197
|
| |
|
|
|
|
|
|
| |
appears to be the standard FreeBSD way to do this. style(9) is silent
about this, however.
Notes:
svn path=/head/; revision=65429
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63734
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63733
|
| |
|
|
| |
Notes:
svn path=/head/; revision=62928
|
| |
|
|
| |
Notes:
svn path=/head/; revision=59435
|