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 $().