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

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

Re: [shell-script] Excluir colunas


From: Gentil de Bortoli Júnior
Subject: Re: [shell-script] Excluir colunas
Date: Thu, 15 Sep 2005 17:28:20 -0300
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nesse caso específico, talvez você possa fazer algo assim:

cat Arquivo.txt | cut -d "|" -f1,2

[]s

Gentil de Bortoli Júnior
KeyID: 0x8383E070 - www.keyserver.net


Luiz Augusto B. Florentino Filho wrote:
>  Existe alguma forma de excluir colunas de um arquivo???
>  
>  Exemplo:
>  
>  NOME   |   IDADE |     SEXO
>  ------------------------------------------
>  Maria    |     17     |   F
>  Luiz       |     36    |   M
>  Pedro    |     15    |   M
>  
>  Como posso fazer para excluir a coluna SEXO?
>  
>  Desde já agradeço!
>  Luiz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDKdlkU6AHyoOD4HARAoufAKCaf2b1wcz0pduishgrHf7FrnAKGgCdFODu
ob4RXVSCR50xK75bAnu3B6g=
=nX/k
-----END PGP SIGNATURE-----


reply via email to

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