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

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

Re: [shell-script] substituir


From: Tiago Barcellos Peczenyj
Subject: Re: [shell-script] substituir
Date: Tue, 26 Aug 2008 15:29:43 -0300

Teste essa solução
$ seq 10 | paste -d\- - -

ou

$ paste -d\- - - arquivo > novo.arquivo

2008/8/26 Elvio Barbalho <address@hidden>:
> Senhores boa tarde, estou com o seguinte problema:
>
> tenho um arquivo assim:
>
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
>
> quero que ele saia assim:
>
> 1-2
> 3-4
> 5-6
> 7-9
> 9-10
>
> [As partes desta mensagem que não continham texto foram removidas]
>
> 



-- 
Tiago B Peczenyj
Linux User #405772

http://peczenyj.blogspot.com/
"what does not kill us makes us stronger"


reply via email to

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