autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatic setting of srcdir


From: Lars J. Aas
Subject: Re: automatic setting of srcdir
Date: Tue, 7 Nov 2000 18:23:52 +0100
User-agent: Mutt/1.2.5i

On Tue, Nov 07, 2000 at 06:09:45PM +0100, Akim Demaille wrote:
: absolute="`cd "$relative" && pwd`"
: 
: is not portable, and nor is
: 
: absolute="`cd \"$relative\" && pwd`"

That the first line is not portable comes as no surprise.
That the second one isn't - I find obscene...

: You don't have to quote rhs of assignments, nor the case argument
: 
: case `echo there are spaces in there` in
:   "there are"*there ) echo OK;;
:   *) echo 'Niah???';;
: esac

You probably mean that you don't have to quote rhs and the case
argument as long as they are expansions from some construct that
doesn't need quoting.  You can't do the following:

absolute=C:\\Windows\\Program Files

case there are spaces in there in
...

  Lars J



reply via email to

[Prev in Thread] Current Thread [Next in Thread]