Gentoo Archives: gentoo-user

From: luis jure <ljc@××××××××××××.uy>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] help renaming files
Date: Wed, 07 Apr 2010 16:22:23
Message-Id: 20100407132123.5521f5ae@acme.acmenet
1 hello list.
2
3 i have a bunch of files with accented characters in their names, both
4 upper- and lower case. i want to rename them using the non-accented
5 equivalent. i thought that would be easy to do using something like tr.
6 big mistake. confronted with accented characters, tr outputs garbage.
7
8 searching the web, i found this: "Although the tr command respects C
9 locale environment variables, don't expect it to do anything sensible
10 with UTF-8 documents, such as being able to replace lower-case accented
11 characters with appropriate upper-case characters. The tr command works
12 best with ASCII and the other standard C locales."
13
14 i'm using es_UY.UTF8 and i can't make tr do anything useful.
15
16 any ideas?
17
18 best,
19
20 lj

Replies

Subject Author
Re: [gentoo-user] help renaming files KH <gentoo-user@××××××××××××××××.de>
Re: [gentoo-user] help renaming files Jonas de Buhr <jonas.de.buhr@×××.net>
[gentoo-user] Re: help renaming files Kerin Millar <kerframil@×××××.com>