Re: [PATCH] [PARSER] Remove backslash before } in double-quotes in variable

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

 



Hi,

Jilles Tjoelker wrote:

> The backslash prevents the closing brace from terminating the
> substitution, therefore it should be removed.

Thanks!

>   printf "%s\n" ${$+\}} ${$+"\}"} "${$+\}}"
> should print } three times, without backslashes.

Thanks especially for the example.  The standard makes these all
clear, even the second one (which motivates the check against varnest
rather than dqvarnest).  For what it's worth, I like the patch.

Regards,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux