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

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

Re: [shell-script] Aproveitando a duvida anterior


From: NetStaRt -> Clayton K. N. Passos
Subject: Re: [shell-script] Aproveitando a duvida anterior
Date: Sat, 22 Jul 2000 13:25:02 -0300 (BRT)

Nao funcionou, criei um arquivo soh para teste com apenas '\' e '/' e nao
funcionou. veja:


netstart:~$ more teste
 / / / / / //////////////////////
\ \ \ \ \ \ \ \ \\\\\\\\\\\\\\\\\\\\\\\\\\


netstart:~$ sed -e '/\\/\//g;' teste
sed: -e expression #1, char 5: Unknown command: ``\''


netstart:~$ more teste
 / / / / / //////////////////////
\ \ \ \ \ \ \ \ \\\\\\\\\\\\\\\\\\\\\\\\\\

netstart:~$





On Sat, 22 Jul 2000, Thiago Rondon wrote:

> Ola,
> 
> sed '/\\/\//g;' arquivo
> 
> -- 
>       -- Thiago Rondon
> 
> GNU GPL: "The source will be with you... always."
> 
> 
> Em sáb, 22 jul 2000, you wrote:
> > Tenho alguns .htmls que quero trocar todos os caracteres \ por /, como eu
> > faco isso?
> > ja tentei no vi e com os poucos conhecimentos que tenho de sed, mas eles
> > pencam que o / eh um diretorio e nao um caractere do .html



reply via email to

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