freebsd-skq/tools/regression/usr.bin
Jilles Tjoelker 98102dabd3 printf: Allow multibyte characters for '<char> form, avoid negative codes.
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.
2011-05-28 11:37:47 +00:00
..
apply
calendar
comm
env
file2c
join
jot
lastcomm
m4
make
ncal
pkill
printf printf: Allow multibyte characters for '<char> form, avoid negative codes. 2011-05-28 11:37:47 +00:00
sed sed: Add test for r217133 (-i race). 2011-01-08 00:06:22 +00:00
tr
uudecode
uuencode
xargs
Makefile
regress.m4