Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 1999 20:25:39 +0200
From:      Roelof Osinga <roelof@nisser.com>
To:        Ilia Chipitsine <ilia@cgilh.chel.su>
Cc:        Kent Stewart <kstewart@3-cities.com>, Greg Lehey <grog@lemis.com>, Brian Somers <brian@Awfulhak.org>, Patrick Seal <patseal@hyperhost.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Bash: space in cd arg bug?
Message-ID:  <37C6D823.19D5355C@nisser.com>
References:  <Pine.BSF.4.05.9908272330060.330-100000@localhost.cgu.chel.su>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37C6D823.19D5355C>