zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] correct typo on noglob in sh/ksh emulation set
@ 2015-04-17 23:48 Han Pingtian
  2015-04-18 19:15 ` Peter Stephenson
  0 siblings, 1 reply; 5+ messages in thread
From: Han Pingtian @ 2015-04-17 23:48 UTC (permalink / raw)
  To: zsh-workers

Hi,

I'd like to know if this patch correct? Thanks.


Signed-off-by: Han Pingtian <hanpt@linux.vnet.ibm.com>
---
 Doc/Zsh/options.yo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
1.9.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] correct typo on noglob in sh/ksh emulation set
  2015-04-17 23:48 [PATCH] correct typo on noglob in sh/ksh emulation set Han Pingtian
@ 2015-04-18 19:15 ` Peter Stephenson
  2015-04-19  6:39   ` Han Pingtian
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Stephenson @ 2015-04-18 19:15 UTC (permalink / raw)
  To: zsh-workers

On Sat, 18 Apr 2015 07:48:30 +0800
Han Pingtian <hanpt@linux.vnet.ibm.com> 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, in which case -f is
correct.  -F is the zsh standard, which is up at line 2480.

pws


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] correct typo on noglob in sh/ksh emulation set
  2015-04-18 19:15 ` Peter Stephenson
@ 2015-04-19  6:39   ` Han Pingtian
  2015-04-19 16:32     ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Han Pingtian @ 2015-04-19  6:39 UTC (permalink / raw)
  To: zsh-workers

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@linux.vnet.ibm.com> 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 ...


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] correct typo on noglob in sh/ksh emulation set
  2015-04-19  6:39   ` Han Pingtian
@ 2015-04-19 16:32     ` Bart Schaefer
  2015-04-19 22:42       ` Han Pingtian
  0 siblings, 1 reply; 5+ messages in thread
From: Bart Schaefer @ 2015-04-19 16:32 UTC (permalink / raw)
  To: zsh-workers

On Apr 19,  2:39pm, Han Pingtian wrote:
}
} > 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 ...

Yes.

% ARGV0=ksh Src/zsh -f
$ echo *
*
$ exit
% ARGV0=ksh Src/zsh -F
ksh: bad option: -F
% 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] correct typo on noglob in sh/ksh emulation set
  2015-04-19 16:32     ` Bart Schaefer
@ 2015-04-19 22:42       ` Han Pingtian
  0 siblings, 0 replies; 5+ messages in thread
From: Han Pingtian @ 2015-04-19 22:42 UTC (permalink / raw)
  To: zsh-workers

On Sun, Apr 19, 2015 at 09:32:08AM -0700, Bart Schaefer wrote:
> On Apr 19,  2:39pm, Han Pingtian wrote:
> }
> } > 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 ...
> 
> Yes.
> 
> % ARGV0=ksh Src/zsh -f
> $ echo *
> *
> $ exit
> % ARGV0=ksh Src/zsh -F
> ksh: bad option: -F
> % 
Thanks. Now I know We can trigger ksh emulation this way ...


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-19 23:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 23:48 [PATCH] correct typo on noglob in sh/ksh emulation set Han Pingtian
2015-04-18 19:15 ` Peter Stephenson
2015-04-19  6:39   ` Han Pingtian
2015-04-19 16:32     ` Bart Schaefer
2015-04-19 22:42       ` Han Pingtian

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).