Subject: Re: /bin/sh `name=value command' anomaly
To: None <J.K.Wight@newcastle.ac.uk>
From: Bakul Shah <bakul@netcom.com>
List: netbsd-users
Date: 03/24/1995 08:39:22
> When I run a /bin/sh command of the form `name=value command' under i386
> NetBSD 1.0 it fails with the message 'Out of file descriptors'. It
> only works as expected if a semicolon is placed after the name=value
> part. This is not a requirement of any other /bin/sh that I am familar
> with, and shouldn't be necessary according to my interpretation of
> this extract from the man page:
I don't know why command fails but you should be aware that
If you place a semicolon after name=value, it is a separate
command and the intended effect (of assigning name=value
to the environment of command) won't happen.