Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | printf: Allow multibyte characters for '<char> form, avoid negative codes. | jilles | 2011-05-28 | 3 | -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. | jilles | 2010-12-08 | 2 | -1/+3 |
| | |||||
* | Also test \0 in the format string. | stefanf | 2005-04-14 | 2 | -1/+1 |
| | |||||
* | Add a few regression tests for printf(1). | stefanf | 2005-04-13 | 11 | -0/+37 |