Stephane Chazelas wrote:
..
> 3$ b=x f
> x
> 4$ echo $b
> x
> 
> and (4) shouldn't have output "x" if
> I read POSIX correctly.

This is a known issue of some shells.
http://code.dogmap.org/lintsh/ :
> "var=value command", if it the command is a shell function or one of
certain builtins, may leave the variable set after the command completes
(pdksh, Solaris sh), or may revert it to its previous state for subsequent
commands (bash).

I don't remember what SuS v3 says about that.

> 

Regards,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




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

Reply via email to