Pádraig Brady wrote:
Pity there is no consensus here. Personally I would go for: printf '%3s' 'blah' # count cells printf '%3Ls' 'blah' # count chars LANG=C '%3Ls' 'blah' # count bytes LANG=C '%3s' 'blah' # count bytes
I vote for it ... it is excellent idea, that "standard" notation works properly in localized environment ! (because this is exactly what users expect) Thanks ! novak
