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

Re: [PATCH] correct typo on noglob in sh/ksh emulation set



On Sat, Apr 18, 2015 at 08:15:02PM +0100, Peter Stephenson wrote:
> On Sat, 18 Apr 2015 07:48:30 +0800
> Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx> wrote:
> > I'd like to know if this patch correct? Thanks.
> > 
> > diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
> > index 20d9fc2..340a1e6 100644
> > --- a/Doc/Zsh/options.yo
> > +++ b/Doc/Zsh/options.yo
> > @@ -2525,7 +2525,7 @@ sitem(tt(-X))(MARK_DIRS)
> >  sitem(tt(-a))(ALL_EXPORT)
> >  sitem(tt(-b))(NOTIFY)
> >  sitem(tt(-e))(ERR_EXIT)
> > -sitem(tt(-f))(em(NO_)GLOB)
> > +sitem(tt(-F))(em(NO_)GLOB)
> >  sitem(tt(-i))(INTERACTIVE)
> >  sitem(tt(-l))(LOGIN)
> >  sitem(tt(-m))(MONITOR)
> 
> It looks like that's in the ksh emulation set,

Yes, that's in sh/ksh emulation set.

> in which case -f is correct.  -F is the zsh 
> standard, which is up at line 2480.

Got it and thanks. sh/ksh emulation set only works when shoptionletters
is being set ...



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