shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Substituir letras de um texto


From: Aurelio Marinho Jargas
Subject: Re: [shell-script] Substituir letras de um texto
Date: Mon, 27 Oct 2003 13:33:31 -0300 (ART)

oi pablo,

usa o comando y/// do sed, que troca uma letra por outra


-- From: Pablo Fernandes 
>   Como poderia fazer para substituir todas as letras de
>   um texto por outras letras.
>   ex:
>   substituir o alfabeto normal (maiúsculo ou minúsculo)
> 
>   a b c d e f g h i j k l m n o p q r s t u v w x y z
>   | | | | | | | | | | | | | | | | | | | | | | | | | |
>   C A B E D P I O F G H J K L M N Q Z Y X W V U T S R

sed y/abcdefghijklmnopqrstuvwxyz/CABEDPIOFGHJKLMNQZYXWVUTSR/


falou!




=====
-- 
Aurelio Marinho Jargas - Curitiba
Ser tosco eh... http://aurelio.net/fotos
Apostila de Shell a venda http://aurelio.net/shell/apostila

Yahoo! Mail - o melhor webmail do Brasil
http://mail.yahoo.com.br


reply via email to

[Prev in Thread] Current Thread [Next in Thread]