Errado, fiquei sabendo agora. A op��o -i foi adicionada somente na vers�o 3.95. http://sources.redhat.com/ml/libc-alpha/2002-10/msg00025.html
Ainda uso Slack 9.1 (sed 3.02), sorry. Vamos ver como o novo sed faz: http://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?(sed.info)Invoking%2520SED `-i[SUFFIX]' `--in-place[=SUFFIX]' This option specifies that files are to be edited in-place. GNU `sed' does this by creating a temporary file and sending output to this file rather than to the standard output.(1) When the end of the file is reached, the temporary file is renamed to the output file's original name. Podemos trocar 6 por meia d�zia, mas da� o neg�cio s� funciona em sistemas com menos de 2 anos e com o GNU sed. Augusto L�dtke > ----- Original Message ----- > From: "Jorge Godoy" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, December 20, 2004 10:55 PM > Subject: Re: (linux-br)trocar textos em arquivos > > Voc� sabe que o sed � capaz de fazer altera��es /in place/, certo? Assim voc� > evita 3 opera��es desnecess�rias. ;-) --------------------------------------------------------------------------- Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br Regras de utiliza��o da lista: http://linux-br.conectiva.com.br FAQ: http://www.zago.eti.br/menu.html
