On 15/01/10 11:28, Jim Meyering wrote:
Rodolfo Ribeiro Gomes wrote:
Hello. I was translating coreutils 8.3 and testing it when I saw that
the pinky output was not fine:
$ pinky
Usuário Nome TTY Ocioso Quando Onde
rodolfo Rodolfo Ribeiro Gom tty7 03:07 2010-01-14 18:03 :0
So I tried to see it on english, and it is ok:
$ LC_ALL=en pinky
Login Name TTY Idle When Where
rodolfo Rodolfo Ribeiro Gom tty7 03:10 Jan 14 18:03 :0
I changed the char á from my string as I use UTF-8, and it becomes ok,
but not with a correct spell:
$ pinky
Usuario Nome TTY Ocioso Quando Onde
rodolfo Rodolfo Ribeiro Gom tty7 03:10 2010-01-14 18:03 :0
Thanks for the report.
There are a few programs like this, including df and who.
No one has been motivated to work on the general problem,
but we would welcome patches.
Note there is mbsalign() functionality now in ls
which could be used for this. I'll have a look at some stage.
cheers,
Pádraig.