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