From owner-freebsd-bugs Tue May 12 11:43:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28951 for freebsd-bugs-outgoing; Tue, 12 May 1998 11:43:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28946 for ; Tue, 12 May 1998 11:43:31 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA26202; Tue, 12 May 1998 11:40:01 -0700 (PDT) Date: Tue, 12 May 1998 11:40:01 -0700 (PDT) Message-Id: <199805121840.LAA26202@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: woods@zeus.leitch.com (Greg A. Woods) Subject: Re: bin/6577: /bin/sh environment variables not set in simple commands Reply-To: woods@zeus.leitch.com (Greg A. Woods) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6577; it has been noted by GNATS. From: woods@zeus.leitch.com (Greg A. Woods) To: freebsd-gnats-submit@FreeBSD.ORG Cc: Subject: Re: bin/6577: /bin/sh environment variables not set in simple commands Date: Tue, 12 May 1998 14:35:42 -0400 (EDT) [ On Sun, May 10, 1998 at 12:52:46 (-0700), iverok@sum.uio.no wrote: ] > Subject: bin/6577: /bin/sh environment variables not set in simple commands > > FOO=bar eval echo \$FOO > outputting "bar" to build. It outputs nothing. This is contrary to > the documented behaviour (for Simple Commands) and to observed > behaviour on AiX, Digital Unix and on bash. Just FYI, this works A-OK with PD KSH v5.2.13 97/10/27 -- Greg A. Woods +1 416 443-1734 VE3TCP Planix, Inc. ; Secrets of the Weird To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message