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

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

Re: variaveis


From: lferreir1
Subject: Re: variaveis
Date: Tue, 13 Apr 2004 18:42:54 -0000
User-agent: eGroups-EW/0.82

Felipe,

Vc pode pensar que é uma pergunta besta, porém é uma pergunta 
inteligente.

É o seguinte;
A variável teste que está entre chaves é o valor absoluto desta 
variável.

Ex.: rm ${ARQUIVO}.txt # resultado OK
rm $ARQUIVO.txt # pode dar erro, pois não existe a variável 
ARQUIVO.txt

Até!
Luiz

--- Em address@hidden, Felipe Bender 
<felipe.bender@t...> escreveu
> Pessoal, uma pergunta bem besta...
> 
> Qual a finalidade das chaves em uma variável? tipo:
> 
> $teste e ${teste}
> 
> 
> []'s
> Felipe Bender


reply via email to

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