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

Re: [bug] backslash stripped in sh/ksh emulation



Bart Schaefer wrote:
> On Oct 11, 12:36pm, Peter Stephenson wrote:
> }
> } So I've introduced a variant of Bnull, the ghost of a backslash, called
> } Bnullkeep.
> 
> I was a bit skeptical of this when I read the description, but looking at
> the patch I think it's actually OK.  This shouldn't change anything when
> GLOB_SUBST is not set, right?

Yes, that's why I picked shtokenize(): it seems to be tied to
GLOB_SUBST.

> } (It's just possible we could get away with only using Bnullkeep by suitable
> } changes, simplifying the code a bit.)
> 
> Did you mean "only using Bnull"?  Otherwise I don't follow.

What I meant is that it may be possible to use only the new code,
so that all Bnull-style efforts are only removed right at the last
minute, including any which are currently Bnull.  However, I haven't
thought this through.

pws


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com



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