[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc: Nested double quotes?
From: |
Ralf Wildenhues |
Subject: |
Re: doc: Nested double quotes? |
Date: |
Wed, 17 Sep 2008 22:53:44 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Stepan,
* Stepan Kasal wrote on Wed, Sep 17, 2008 at 12:28:58PM CEST:
> I have just adviced a project to use
>
> var=`"$srcdir/cmd" "prm"`
>
> instead of
>
> var="`"$srcdir/cmd" "prm"`"
>
> The manual states that some shells misinterpret the latter, in
> http://www.gnu.org/software/autoconf/manual/html_node/Shell-Substitutions.html
>
> Does anyone here know which shells contain this bug?
> Are they extinct these days or is it Solaris?
Solaris 10 /bin/sh has at least some problems with it:
$ var="`echo "hi"`"
$ var="`echo " hi "`"
: cannot execute
hi: not found
Cheers,
Ralf