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

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

Re: [shell-script] Como exibir variáveis


From: HardBeat404
Subject: Re: [shell-script] Como exibir variáveis
Date: Sun, 16 Sep 2001 05:54:39 -0300

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

echo $MES

e se for pra exibir em uma string tem de especificamente estar em
"double-quote" as aspas duplas pra que possa ser exibido o valor da
variavel

abraços

- -----
//  Debian News?  http://www.debianplanet.org
//  ICQ/Licq:  #72974241
//  Linux Registered User: #220025
//  Personal Home-Page: www.hardbeat404.f2s.com


- ----- Original Message -----
From: <address@hidden>
To: <address@hidden>
Sent: Saturday, September 15, 2001 10:17 AM
Subject: [shell-script] Como exibir variáveis


> Olá lista,
>
> sei que é meio bobo, mas sou novo em shel script,
> gostaria de saber como exibir valores de variáveis na tela,
> algo com:
>
> MES='date +%m'
> echo 'MES'
>
> Só exibe a palavra MES;
>
> Como faço para exibir o valor da vaviável, não
> ela em si?
>
>
> Sair da lista: address@hidden
> Banco Dados:   http://www.egroups.com/group/shell-script
>
> Seu uso do Yahoo! Grupos é sujeito às regras descritas em:
> http://br.yahoo.com/info/utos.html
>
>

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBO6Roy7vphCHEu7TmEQJurQCfbsflCssV6tyq2XHwcEbp3W6uPnYAoPpa
CaixZkiYhzOzI8LabTe0hHjV
=k86J
-----END PGP SIGNATURE-----




reply via email to

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