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

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

Re: [shell-script] awk


From: Elizabete Azevedo
Subject: Re: [shell-script] awk
Date: Tue, 15 Jan 2002 04:11:22 -0800 (PST)

> quando uso :
> awk '{if($1>10)print$3}' nome-do-arquivo
> funciona, mas quando uso 
> awk '{if($1>$var)print$3}' nome-do-arquivo
> não funciona.


igor, não tenho a certeza, podes tentar, mas como se
trata da comparação entre duas variáveis tenta usar:

   awk '{if($1 -ne $var)print$3}' 



__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/


reply via email to

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