Subject: Re: /bin/sh `name=value command' anomaly
To: None <>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: netbsd-users
Date: 03/24/1995 05:09:02
> 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've never seen this, either on 1.0, or any version before or after,
and when i use sh in single-user mode, i use commands like that a lot...

what command, exactly, is giving you the problem?  (i'd like to see if
i can replicate the problem myself...)

> Is it a bug, or is the semicolon requirement enshrined in POSIX
> 1003.2, to which /bin/sh apparently conforms?

i don't think so, and i think you overestimate the POSIX-ness of
/bin/sh...  8-)