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

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

Re: [shell-script] extraer lineas impares


From: Flavio Junior
Subject: Re: [shell-script] extraer lineas impares
Date: Fri, 26 Sep 2008 18:08:39 -0300

$  sed -n '1~2p' arquivo.txt

--

Flávio do Carmo Júnior aka waKKu

2008/9/26 miguel saavedra <address@hidden>:
> Senhores, bom dia.
> Tenho o seguinte arquivo;
> cat file
> 1 aaaaaaaaa
> 2 ssssssss
> 3 ddddddddd
> 4 fffffffffffffff
> 5 yyyyyyyyy
> .........
> .............
> ..............
> 9999 wwwwwww
> 10000 steeee
>
>  quero tener solo lineas impares
>
> 1 aaaaaaaaa
>
> 3 ddddddddd
> 5 yyyyyyyyy
>
> .........
>
> .............
>
> ..............
> 9999 wwwwwww
>
> Abraços,
>
>
>
>
>
>
>
>
>
> [As partes desta mensagem que não continham texto foram removidas]
>
> 


reply via email to

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