[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Multiple double quoted expansions
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] Multiple double quoted expansions |
Date: |
Fri, 27 May 2016 17:21:51 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, May 25, 2016 at 03:15:27PM -0400, address@hidden wrote:
> On Sun, 1 May 2016 01:44:06 <address@hidden> wrote:
> > convert "$i" "$(basename "$i" .pcx).png";
> >
> ^
> That works, I thought that placing a double quote here would unquote the
> variable.
> I can't find the reason in the bash man page, could you explain?
$() introduces a nested quoting context. The paired "..." inside $()
are separate from the paired "..." outside $().