Todo caracter especial, requer um contra-barra (\) antes desse mesmo
caracter especial.
======================================
CyberCrow
Conhecimento é Poder !
Quando voce perde a mente limitada
Voce liberta a sua vida
http://cybercrow.blogspot.com
======================================
1. Try to find an answer by searching the archives of the forum you plan to
post to.
2. Try to find an answer by searching the Web.
3. Try to find an answer by reading the manual.
4. Try to find an answer by reading a FAQ.
5. Try to find an answer by inspection or experimentation.
6. Try to find an answer by asking a skilled friend.
7. If you're a programmer, try to find an answer by reading the source code.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/L/U d- s-: a- C++ LSU++++ P+ L+++ E--- W++ N w--
O-- M- V- PS PE- Y PGP++ t 5 X++ R tv- b++ DI D+
G++ e- h* r y+
-------END GEEK CODE BLOCK------
Leonardo wrote:
> Boa tarde pra vcs,
>
> To tentando montar uma expressão regular para substituir todos os "/"
> por " " (barra por espaço).
> só que barra é um caracter especial para o sed :-(
> Alguém tem alguma dica?
>
> Com carcateres normal é simples
>
> Exemplo(trocando A por B):
> $echo testeAcompleto | sed 's/A/B/g'
> $ testeBcompleto
>
> Mas eu precisava de alguma coisa nesse nível:
>
> $echo teste/completo | sed 's/// /g'
> $ teste completo
>
> Mas isso não funciona. Alguma dica??
>
>
>
> --
> [...Leonardo Luís dos Santos...]
>
> [...Programando Por Um Mundo Melhor...]
>
> [...A vida me ensinou a nunca desistir. Nem ganhar, nem perder, mas
> procurar evoluir...]
>
> >
--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
Conheça o Novo Forum do GUS-BR na Under-Linux.Org em:
http://under-linux.org/forums/slackware/
-~----------~----~----~----~------~----~------~--~---