Date: Fri, 6 Sep 2002 18:37:33 +0200 From: Martin Heinen <martin@sumuk.de> To: freebsd-stable@FreeBSD.ORG Subject: Shell builtin command changed? Message-ID: <20020906183733.A51312@sumuk.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020906183733.A51312>