[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Variaveis de Ambiente
From: |
Daniel Duclos |
Subject: |
Re: [shell-script] Variaveis de Ambiente |
Date: |
Tue, 5 Feb 2002 21:39:51 -0200 (BRST) |
On Tue, 5 Feb 2002, Shell Script wrote:
> Ola pessoal,
>
> estou com o seguinte problema:
>
> tenho um script que utiliza a saida do "ifconfig" como condicional. Este
> script roda no cron.
>
> Quando executo o script no prompt, ele gera a saida do "ifconfig" em
> portugues. Porem, quando roda no cron, a saida eh gerada em ingles.
>
> Tentei setar algumas variaveis de ambiente, dentro do script, antes de
> executar o "ifconfig", como segue:
>
> DICTIONARY=brazilian
> LINGUAS=pt_BR
> LC_ALL=pt_BR
> LANG=pt_BR
Ola! Voce exportou essas variaveis?
Daniel Lobato Duclos - address@hidden - http://www.cybershark.net
GPG Key fingerprint = A21B 40DF 4B8D 3CE6 9284 E764 4DF0 144C 509F 080F
---------------------------------------------------------------------------
The more I see, the more I hate / The more I learn, the more I fake
The less I try, the less I get / The less I'm in, I'm never out
(Sepultura - Against)