[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"
- substituir, Elvio Barbalho, 2008/08/26
- Re: [shell-script] substituir,
Tiago Barcellos Peczenyj <=
- Re: [shell-script] substituir, Fabiano Caixeta Duarte, 2008/08/26
- Re: substituir, voyeg3r, 2008/08/27
- Re: [shell-script] Re: substituir, jimmy, 2008/08/27
- Re: [shell-script] Re: substituir, Tiago Barcellos Peczenyj, 2008/08/27
- Re: [shell-script] Re: substituir, jimmy, 2008/08/27