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

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

Re: [shell-script] Re: SED


From: Bruno Gola
Subject: Re: [shell-script] Re: SED
Date: Wed, 17 Jan 2007 15:11:49 -0200

Oi Eduardo,
On 1/17/07, Eduardo de Paula <address@hidden> wrote:
Colega,

 o script funcionou blz.. mas gostaria de saber se tem como fazer isso
 sem usar o pipe no meio dos dois comandos sed...

 sed 's/\]\^NULL\^\[//g' entrada.txt | sed 's/| *|/||/g'> saida.txt


faça

sed -e 's/\]\^NULL\^\[//g' -e 's/| *|/||/g' entrada.txt > saida.txt

[]s,
--
Bruno Fialho Marques Gola <address@hidden>
http://www.brunogola.com.br
Cel: (11) 9294-5883


reply via email to

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