summaryrefslogtreecommitdiffstats
path: root/tools/regression/usr.bin/printf
Commit message (Collapse)AuthorAgeFilesLines
* printf: Allow multibyte characters for '<char> form, avoid negative codes.jilles2011-05-283-1/+5
| | | | | | | | | | | | | Examples: LC_ALL=en_US.UTF-8 printf '%d\n' $(printf \'\\303\\244) LC_ALL=en_US.ISO8859-1 printf '%d\n' $(printf \'\\344) Both of these should print 228. Like some other shells, incomplete or invalid multibyte characters yield the value of the first byte without a warning. Note that there is no general way to go back from the character code to the character.
* printf: Test that the "--" option terminator works.jilles2010-12-082-1/+3
|
* Also test \0 in the format string.stefanf2005-04-142-1/+1
|
* Add a few regression tests for printf(1).stefanf2005-04-1311-0/+37
OpenPOWER on IntegriCloud