Variable assignment and spaces
Julio Biason
julio.biason at terra.com.br
Sun Sep 4 13:56:33 UTC 2005
On Sun, 2005-09-04 at 08:08 -0400, Stephen R Laniel wrote:
> I see that, and yet ... if bash is smart enough to parse the
> line 'VARNAME=foo', noticing that there's an equals sign and
> that it therefore must behave differently, can't it smartly
> parse 'VARNAME = foo'?
I can think two reasons:
First, you could be trying to pass '=' as a parameter for VARNAME
(thinking it is a program). Second, spaces are usually list delimiters
too, so you could be building a list of something.
--
Julio Biason <julio.biason at terra.com.br>
More information about the ubuntu-users
mailing list