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

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

Como "juntar" linhas


From: Mauricy Maiorino
Subject: Como "juntar" linhas
Date: Thu, 25 Aug 2005 13:17:43 -0300
User-agent: Mozilla Thunderbird 1.0.5 (X11/20050711)

Pessoal

Tenho o seguinte arquivo com algumas linhas deste tipo:

AS        I          N        JGA64E    daca528   25/08/2005  10:06:15   
01   SGAC5C:1S9999 / SGACPC:1S2005NS / SGADGC:1S2005NS
                                                                                
 
/ SGACLC:7777777777
AS        N          N        JGA18E    daca528   25/08/2005  09:30:41   
00   SGA31C:LIS9999990199SNN000000-LISTAAAAA999-
                                                                                
 
77778999-999999

O que acontece é que preciso que elas fiquem em uma mesma linha, pois 
são continuação:

AS        I          N        JGA64E    daca528   25/08/2005  10:06:15   
01   SGAC5C:1S9999 / SGACPC:1S2005NS / SGADGC:1S2005NS / SGACLC:7777777777
AS        N          N        JGA18E    daca528   25/08/2005  09:30:41   
00   SGA31C:LIS9999990199SNN000000-LISTAAAAA999-77778999-999999

Tentei alguma coisa com o sed, onde retiro os espaços iniciais em 
branco, mas não estou conseguindo "juntar" as duas!!. Alguém poderia me 
ajudar??

Obrigado

Mauricy


[As partes desta mensagem que não continham texto foram removidas]



reply via email to

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