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

Re: Strange variable asignement in bash script



Hello,

> Content-Type: text/plain;
>   charset="gb2312"

What is that charset ??

Please do not hijack an existing thread with a new one that
has nothing to do with.

Juan Sierra Pons a écrit :
> problem I can't create a variable like this $TEST.$HOST in the left side of =

Well, seems like bash doesn't like dots in its variable name :

eh@bubulle:~$ a=1
eh@bubulle:~$ a.b=1
bash: a.b=1: command not found

Use underscores in place of dots ?

-- 
Emmanuel Halbwachs              Labo. de Photonique et Nanostructures
tel      : (+33)1 69 63 61 34                             CNRS UPR 20
fax      : (+33)1 69 63 60 06       Route de Nozay F 91460 Marcoussis



Reply to: