Variable assignment and spaces

Stephen R Laniel steve at
Sun Sep 4 12:08:20 UTC 2005

On Sat, Sep 03, 2005 at 11:53:24PM -0400, Michael R Head wrote:
> It's a form of typing. What if VARNAME is a program (as
> in /usr/bin/VARNAME)? 

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'?

Stephen R. Laniel
steve at
+(617) 308-5571
PGP key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-users mailing list