Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ( Text in unknown character set UTF-8 not shown )



Reply to message «Re: ( Text in unknown character set UTF-8 not shown )», 
sent 10:17:21 23 December 2010, Thursday
by Bart Schaefer:

> I believe the reasoning is that double-quote is allowed to appear
> inside $'...' and to expand $'...' inside double-quotes creates a
> parsing conflict.  "How does this $'with " embeded' parse?"
"How does this $'with " embeded' parse?"
"Just like this `with " embedded` parse."
There are no parsing conflicts here, but
> Because it doesn't in any of the shells that introduced it before
> zsh had it.
is legitimate enough for me because it helps porting scripts from/to zsh.

> } It's not, as far as I can tell, mentioned in the documentation.
> 
> The documentation for zsh tends to omit things that are assumed
> knowledge, particularly when a concept or feature originates from
> another source -- because if you didn't already know about it from
> the original source, why did you even think to use it?
But when I worked in bash I knew nothing about $'...' (because I even did not 
know where to find documentation to tweak my inputrc).

Attachment: signature.asc
Description: This is a digitally signed message part.



Messages sorted by: Reverse Date, Date, Thread, Author