Variable assignment and spaces

Michael R Head burner at suppressingfire.org
Sun Sep 4 03:53:24 UTC 2005


On Sat, 2005-09-03 at 22:40 -0400, Stephen R Laniel wrote:
> On Sat, Sep 03, 2005 at 09:40:10PM -0400, Stephen R Laniel wrote:
> > Is there any good reason why
> > VARNAME = 'string'
> > is not syntactically valid, whereas 
> > VARNAME='string'
> > is?
> 
> I should have added '...within bash'.

It's a form of typing. What if VARNAME is a program (as
in /usr/bin/VARNAME)? 

mike

> 
-- 
Michael R Head <burner at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt (ID 23A02B1F)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050903/64d9cfc0/attachment.sig>


More information about the ubuntu-users mailing list