"Jeffrey B. Green" wrote: > 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.
But they are equivalent "as far as the above execution of cmd is concerned". When you run XXX="hello" /bin/echo $XXX, the echo command will have XXX in it's environment. That's why I used printenv to show that the manpage is correct. There's nothing wrong with the explanation on the manpage. Your attempt to verify the example on the manpage failed because it relied on false assumptions about how other things work - i.e. variable expansions. Oliver -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

