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

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

Re: [shell-script] Comando if


From: Juari Ritter Müller
Subject: Re: [shell-script] Comando if
Date: Sun, 28 Jul 2002 18:17:34 -0300
User-agent: Mutt/1.3.28i

valor=33
if [ $valor -ge 30 -a $valor -le 38 ]; then
        echo Executando comandos
        # Coloque seus comandos aqui
fi

[]'s
Juari

On Mon, Jul 22, 2002 at 03:01:43PM -0300, rola wrote:
> Pessoal
> 
>     Preciso de ajuda com o comando IF, preciso que ele faca o seguinte:
> 
>    se 33 esta entre 30 e 38
>         comandos..
>   fi
> 
> como transformar isto num comando if ?
> 
> Abraços, Rola

-- 
-Juari Ritter Müller
address@hidden and address@hidden
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d-- s: a18 C+++ UL++ P+ L++> E- W+ N+ o? K? w--
O? M? V- PS+ PE Y+ PGP t+ 5+ X+ R tv- b+ DI D++
G e h! !r y?
------END GEEK CODE BLOCK------


reply via email to

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