Date: Tue, 09 Nov 1999 08:54:28 -0500 From: Robert Withrow <bwithrow@nortelnetworks.com> To: questions@freebsd.org Cc: bwithrow@nortelnetworks.com Subject: Is sh (or amd) confused about where it is? Message-ID: <199911091354.IAA03114@tuva.engeast.baynetworks.com>
next in thread | raw e-mail | index | archive | help
Consider: bash-2.03$ uname -srm FreeBSD 3.2-RELEASE i386 bash-2.03$ pwd /net/tannu/view/bob-3/tree/bcc /net/tannu automounts to a Solaris system: bash-2.03$ amq | grep tannu /net/tannu host tannu:/net/tannu /a/net/tannu/root But if I do this: bash-2.03$ sh $ cd /net/tannu/view/bob-3/tree/bcc $ pwd /a/net/tannu/root/view/bob-3/tree/bcc $ I can deal with the /a (but I'd rather not), but the "root" part gives me real gas. How come bash get it right but sh gets it wrong? Can I convice AMD or shell not to do that? -- Robert Withrow -- (+1 978 288 8256) BWithrow@BayNetworks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911091354.IAA03114>