Date: Thu, 1 May 1997 09:32:30 -0400 From: Chet Ramey <chet@odin.INS.CWRU.Edu> To: andrew@erlenstar.demon.co.uk Cc: hackers@freebsd.org Subject: Re: /bin/sh -c and ENV Message-ID: <9705011332.AA06946.SM@odin.INS.CWRU.Edu> In-Reply-To: Message from andrew@erlenstar.demon.co.uk of 01 May 1997 06:23:19 %2B0100 (id <87rafr6a0o.fsf@erlenstar.demon.co.uk>)
next in thread | previous in thread | raw e-mail | index | archive | help
> Running RELENG-2.2 as of a few days ago. > > Just noticed that /bin/sh is executing the ENV file even when invoked with > the -c option. Is this a bug or a feature? :-) It's a bug. A post-publication POSIX.2 interpretation made it clear that ENV should be executed only for interactive shells. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9705011332.AA06946.SM>