From owner-freebsd-questions Fri Aug 27 11:27:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nisser.com (n2000039.telekabel.chello.nl [212.187.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 8856014D14 for ; Fri, 27 Aug 1999 11:27:46 -0700 (PDT) (envelope-from roelof@nisser.com) Received: from nisser.com (roelof [10.0.0.2]) by nisser.com (8.9.3/8.9.2) with ESMTP id UAA89832; Fri, 27 Aug 1999 20:26:01 +0200 (CEST) (envelope-from roelof@nisser.com) Message-ID: <37C6D823.19D5355C@nisser.com> Date: Fri, 27 Aug 1999 20:25:39 +0200 From: Roelof Osinga Organization: eboa - engineering buro Office Automation X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Ilia Chipitsine Cc: Kent Stewart , Greg Lehey , Brian Somers , Patrick Seal , freebsd-questions@FreeBSD.ORG Subject: Re: Bash: space in cd arg bug? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ilia Chipitsine wrote: > > guys, what are you discussing ? > am I wrong ? Semantics. Basically whether the substituted value should be interpreted as an atomic value or ought to be taken at face value. If it is an atomic value then 'cd $FOO' ought to work no matter the contents of $FOO, if not then it can not be expected to work if those contents after expansion conflict with the syntax. Since these things can nip you in the butt at the most awkward times - think major install scripts - it is not an as frivolous excercise as it may look. Roelof -- Home is where the (@) http://eboa.com/ is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message