Variable assignment and spaces

Stephen R Laniel steve at laniels.org
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 laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050904/96525ba1/attachment.sig>


More information about the ubuntu-users mailing list