bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash reference manual


From: Chet Ramey
Subject: Re: Bash reference manual
Date: Thu, 21 Feb 2019 10:10:10 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 2/21/19 6:04 AM, Wail Yahyaoui wrote:
> Hello,
> 
> I was reading the Bash reference manual online and I could not find any 
> mention that when doing variable assignments there should be no space around 
> the equal sign.

The example in the texinfo manual doesn't include spaces:

A variable may be assigned to by a statement of the form
     NAME=[VALUE]

In addition, the requirement that there be no spaces is implied, since the
assignment statement has to be a single word.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]