From: | luis jure <ljc@××××××××××××.uy> | ||
---|---|---|---|
To: | gentoo-user <gentoo-user@l.g.o> | ||
Subject: | Re: [gentoo-user] Re: help renaming files | ||
Date: | Wed, 07 Apr 2010 19:47:56 | ||
Message-Id: | 20100407164701.55bcd2eb@acme.acmenet | ||
In Reply to: | [gentoo-user] Re: help renaming files by Kerin Millar |
1 | on 2010-04-07 at 20:01 Kerin Millar wrote: |
2 | |
3 | >It can be done with Perl. |
4 | |
5 | i was afraid someone was going to say that... :-) |
6 | |
7 | |
8 | > perl -M'encoding utf8' -MUnicode::Normalize -pe |
9 | > '$_=NFKD($_);s/\pM//og' |
10 | |
11 | that works great, kerin, thank you! no idea though what $_=NFKD($_) |
12 | might mean... that's fine, i'll write it down in a script for future |
13 | use. |
14 | |
15 | best, |
16 | |
17 | lj |