> Hi List,
>       I'm a newbie about awk.
> 
>       I'm trying to print only chosen column.  I have a file with
> different number fields (NF), but the first 5 are equal, so I want
to
> delete them.  I'm looking for something which allow me to print the
> interval fields $6 to $NF, included, where $NF is different for each
line.
> My biggest $NF is 23 and the smallest is 6.
>       All allternatives that I tryed (following gawk-doc) gave blank
> spaces before or after each line.
> 
> Many thanks in advance.
> 
> -- 
> -----------------------
> Alan Wilter S. da Silva
> -----------------------
>  Laborat�rio de F�sica Biol�gica
>   Instituto de Biof�sica Carlos Chagas Filho
>    Universidade do Brasil/UFRJ
>     Rio de Janeiro, Brasil
> 
> 
> 
Try this is csh,

cat filename | cut -d' ' -f 6-

if it is space delimitied. Redirect as needed.

HTH
Dave


-----------------------------------------------------------------
This message was sent via the web interface to
Sniff Out's POP3 Email - http://www.sniffout.net/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to