On 10/06/2010 10:03 AM, Oliver Kiddle wrote:
Jeff Green wrote:

% XXX="hello" /bin/echo $XXX

When the shell see's this line, it expands $XXX itself first. It is not
/bin/echo doing the expansion.

Note that if you do the following, it will print hello.
XXX="hello" printenv XXX


The question is then: what do users do with the explanation on the manpage? I.e. they are not equivalent since the results are not the same.

-jeff



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to