lkml.org 
[lkml]   [1996]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /usr/src/linux/Makefile


Dear Vincy,

Thank you for your help.

>
> It looks like the 'EXPORT_ALL_VARIABLES:' is a label. You can see that because
> of the ':' on the end of the line.

but if it is a label, there is no need to have . before it.

>
> The '$$BASH' makes sure that the 'echo' command echos '$BASH' instead of 'BASH'
> which wouldn't mean anything.
>

if we want to echo the value of BASH, we can use echo $BASH, there is no
need to have double $.

> ':=' makes sure that the part left to it will become the same as the value on
> the right of it.
> for comparison you should use '=='

What I want to know is the defferent between := and =, If we want to assign
something to a variable, we can use VAR=value that is

value=3 and no need value :=3



Regards

Duan Zhenhai


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.020 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site