Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] multibyte tr (or i18n coreutils)
- Date: Mon, 19 Apr 2010 12:42:04 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] multibyte tr (or i18n coreutils)
- References: <20100418175123.GA8181@example.com> <4BCB4C46.9090700@example.com>
Lewske Wada writes: > Michal Hajek wrote: > > Or is there a way to persuade "tr" to work with utf8 ? > > > > I think the best way is to use perl one liner like : > > $ whoami | perl -pe s/ryu/竜介/g; Ryu is right about the tool. At one time, GNU was the highest quality implementation of most of these utilities, but these days it's somewhat spotty. If you need to create maintainable software, I'd say use Python or Ruby, but for this kind of purpose nothing can touch Perl. Especially since (as Kalin points out) it provides a `tr' command which works on characters.
- References:
- [tlug] multibyte tr (or i18n coreutils)
- From: Michal Hajek
- Re: [tlug] multibyte tr (or i18n coreutils)
- From: Lewske Wada
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] multibyte tr (or i18n coreutils)
- Next by Date: Re: [tlug] multibyte tr (or i18n coreutils)
- Previous by thread: Re: [tlug] multibyte tr (or i18n coreutils)
- Next by thread: Re: [tlug] multibyte tr (or i18n coreutils)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links