Re: Replace character with accent by character without accent
From: Chris F.A. Johnson (cfajohnson_at_gmail.com)
Date: 08/30/04
- Next message: .:: Evanescence ::.: "Re: Replace character with accent by character without accent"
- Previous message: William Park: "Looking for dialog-like interface for terminal and X"
- In reply to: .:: Evanescence ::.: "Replace character with accent by character without accent"
- Next in thread: .:: Evanescence ::.: "Re: Replace character with accent by character without accent"
- Reply: .:: Evanescence ::.: "Re: Replace character with accent by character without accent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Aug 2004 00:56:10 GMT
On 2004-08-30, .:: Evanescence ::. wrote:
> Hello people.
>
> I have file coming from a system that is in Portuguese, and I need to
> strip it of all characters that have accent.
>
> example:
>
> á -> a
> è -> e
> ç -> ç
>
> you get the idea.
>
> Question: How do I do that with a UNIX shell script?
>
> My shell is the BASH shell. I have some knowledge of how to make shell
> script.
tr 'àáâãäåçèéêëìíîïðñòóôõöøùúûüýþÿ' 'aaaaaaceeeeiiiionoooooouuuuyþy'
--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
===================================================================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
- Next message: .:: Evanescence ::.: "Re: Replace character with accent by character without accent"
- Previous message: William Park: "Looking for dialog-like interface for terminal and X"
- In reply to: .:: Evanescence ::.: "Replace character with accent by character without accent"
- Next in thread: .:: Evanescence ::.: "Re: Replace character with accent by character without accent"
- Reply: .:: Evanescence ::.: "Re: Replace character with accent by character without accent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|