[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Target-specific Variable Values
From: |
Eli Zaretskii |
Subject: |
Re: Target-specific Variable Values |
Date: |
Sat, 11 Dec 2010 17:56:31 +0200 |
> Date: Sat, 11 Dec 2010 17:16:34 +0330
> From: ali hagigat <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
>
> all: file1
> file1:
> var1=wwwww;echo $var1
> @echo lllllll
>
> The result was:
> var1=wwwww;echo ar1
> ar1
> lllllll
>
> Why var1 can not be printed correctly?
Because $var1 means ``the value of variable "v" followed by a literal
string "ar1"''. Only single-letter variables can be used without
enclosing them in parentheses.