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

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

RES: [shell-script] Substituir String em arquivo texto


From: Élvio Barbalho
Subject: RES: [shell-script] Substituir String em arquivo texto
Date: Tue, 21 Aug 2007 15:52:30 -0300

Isso eu acho que resolve
sed 's/| |/|/g'

        ----- Mensagem original -----
        De:             address@hidden
[SMTP:address@hidden] Em nome de Eduardo Lucas
        Enviada em:             terça-feira, 21 de agosto de 2007 16:37
        Para:           address@hidden
        Assunto:                [shell-script] Substituir String em arquivo
texto

        Pessoal...preciso... substituir no arquivo texto a string "| |" (no 
        caso... pipe espaço pipe) por "|" (somente pipe...)
        como posso fazer isto?? com o tr eu consigo fazer...isto ou com
sed???
        algué tem alguma ideia....
        
        Eduardo
        
        

         


reply via email to

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