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

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

Re: RES: [shell-script] expresão regular


From: Adam Victor Nazareth Brandizzi
Subject: Re: RES: [shell-script] expresão regular
Date: Thu, 21 Oct 2004 14:26:37 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

Julio Cezar Neves - DATAPREVRJ wrote:
Fala Ricardo,

Prompt> sed 's#/#\\/#g' Arquivo > Arquivo.OK
Prompt> mv -f Arquivo.OK Arquivo

Complementando sed -i 's#/#\\/#g' Arquivo

O -i faz a alteração agir sobre o arquivo.

[ ]s,
Julio Cezar Neves
- Programa de Software Livre -
Tel:+55 21 2528-7070 / +55 21 8112-9988
Fax: +55 21 2528-7646
mailto:address@hidden


--
Adam Victor Nazareth Brandizzi
Estudante de Ciência da Computação - UnB - Usuário Linux nº 366316
ICQ: 168537710 | Jabber: address@hidden | Telefone: (61)9639 5258
"Real programmers don't use Pascal: just the integer ones can do it."


reply via email to

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