From owner-freebsd-stable Fri Sep 6 9:37:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA49C37B400 for ; Fri, 6 Sep 2002 09:37:37 -0700 (PDT) Received: from Kain.sumuk.de (Kain.sumuk.de [213.221.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE36A43E3B for ; Fri, 6 Sep 2002 09:37:36 -0700 (PDT) (envelope-from martin@sumuk.de) Received: from Moses.earth.sol (Moses.earth.sol [192.168.1.1]) by Kain.sumuk.de (8.12.5/8.12.5) with ESMTP id g86GbYbn046074 for ; Fri, 6 Sep 2002 18:37:35 +0200 (CEST) (envelope-from martin@sumuk.de) Received: (from vincent@localhost) by Moses.earth.sol (8.11.6/8.11.6) id g86GbYo51391 for freebsd-stable@FreeBSD.ORG; Fri, 6 Sep 2002 18:37:34 +0200 (CEST) (envelope-from vincent) Date: Fri, 6 Sep 2002 18:37:33 +0200 From: Martin Heinen To: freebsd-stable@FreeBSD.ORG Subject: Shell builtin command changed? Message-ID: <20020906183733.A51312@sumuk.de> Reply-To: freebsd-stable@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After installing 4.7-PRERELEASE the shell builtin 'command' no longer works as expected: | # mkdir la | # cd la | # pwd | /root/la | # cd .. | # command cd la | # pwd | /root | # builtin cd la | # pwd | /root/la | # uname -a | FreeBSD Abel.sumuk.de 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Fri Sep 6 16:32:16 CEST 2002 toor@Abel.sumuk.de:/usr/obj/usr/src/sys/ABEL i386 I used command inside a shell function in the following way: | cd () { | command cd $* && PS1="`pwd`# " | } Is this usage of command no longer supported or is it a bug in sh? -- Marxpitn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message