From owner-freebsd-bugs Mon Mar 10 16:30:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA11617 for bugs-outgoing; Mon, 10 Mar 1997 16:30:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA11609; Mon, 10 Mar 1997 16:30:03 -0800 (PST) Resent-Date: Mon, 10 Mar 1997 16:30:03 -0800 (PST) Resent-Message-Id: <199703110030.QAA11609@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, un_x@hotmail.com Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA10852 for ; Mon, 10 Mar 1997 16:22:10 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id BAA16402 for FreeBSD-gnats-submit@freebsd.org; Tue, 11 Mar 1997 01:21:26 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id AAA10899; Tue, 11 Mar 1997 00:55:56 +0100 (MET) Message-Id: <199703102355.AAA10899@uriah.heep.sax.de> Date: Tue, 11 Mar 1997 00:55:56 +0100 (MET) From: " steve howe" Reply-To: un_x@hotmail.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2934: sh(1) has problems with $ENV Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2934 >Category: bin >Synopsis: sh(1) has problems with $ENV >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 10 16:30:02 PST 1997 >Last-Modified: >Originator: steve howe >Organization: unknown >Release: FreeBSD 3.0-CURRENT i386 >Environment: /bin/sh in any FreeBSD system so far. >Description: /bin/sh processes $ENV fine if it has been set inside ~/.profile like: ENV=${HOME}/.env; export ENV However, it fails to source $ENV in this case: export ENV=${HOME}/.env >How-To-Repeat: Use: export ENV=${HOME}/.env in your ~/.profile, and re-invoke another level of sh(1). $ENV won't be read. Now invoke any other Bourne-alike shell (pdksh, ksh93, bash), it will process $ENV correctly. >Fix: Not known. >Audit-Trail: >Unformatted: [This PR sent by joerg on behalf of Steve who doesn't have a good enough IP connectivity.]