From owner-freebsd-current Tue Dec 14 10:50:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id EF868152E5 for ; Tue, 14 Dec 1999 10:50:42 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA72760; Tue, 14 Dec 1999 11:50:27 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA54339; Tue, 14 Dec 1999 11:50:26 -0700 (MST) Message-Id: <199912141850.LAA54339@harmony.village.org> To: Marcel Moolenaar Subject: Re: Broken sh(1): A more specific example Cc: current@FreeBSD.ORG In-reply-to: Your message of "Tue, 14 Dec 1999 14:48:51 +0100." <38564AC3.B7ADD3AE@scc.nl> References: <38564AC3.B7ADD3AE@scc.nl> Date: Tue, 14 Dec 1999 11:50:26 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <38564AC3.B7ADD3AE@scc.nl> Marcel Moolenaar writes: : #!/bin/sh : PATH=/usr/obj/usr/src/i386/bin:/usr/obj/usr/src/i386/usr/bin:\ : /usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:\ : /usr/games:/usr/local/bin:/usr/X11R6/bin:/home/marcel/bin ls : ls Isn't path not exported, so it is in effect for the first ls, but not the second? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message