On Sun, 21 Feb 2016 02:52:58 +0000, Bigendian Smalls wrote:
>Which part of that concerns you? Seems like expected awk & printf behavior no?
>
It seems, but it concerns me that one can't rely on the width in the format
specification for visual column alignment of tabular data. "C", but not awk,
may have additional format modifiers to make this work. Probably even
worse for DBCS with shift-in/shift-out sequences.
>> On Feb 20, 2016, at 7:37 PM, Paul Gilmartin wrote:
>>
>> 735 $ LC_ALL=en_US.UTF-8 awk 'BEGIN { printf( "%5s\n%5s\n12345\n", "A", "Ж"
>> ) }'
>> A
>> Ж
>> 12345
--gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN