Converting wide characters to their nearest ASCII equivalents

David Hart ubuntu at tonix.org
Thu May 18 13:18:31 UTC 2006


On Thu, May 18, 2006 at 08:52:01AM -0400, Stephen R Laniel wrote:
> On Wed, May 17, 2006 at 06:11:57PM -0400, Dave Scott wrote:
> > That should be doable in just a few lines of code using Perl.
> 
> Sure. But I mean, which lines of Perl? :-)

Don't know about the Perl but there was a similar question on this list
a few days ago.

There were several suggestions (mostly involving shell 'for' loops and
sed, as well as a python script) but the most straightforward was
probably the 'rename' command.

'man rename' should get you going.

-- 
David Hart <ubuntu at tonix.org>




More information about the ubuntu-users mailing list