zsh-workers
 help / color / mirror / code / Atom feed
* Obsolete comment in B02typeset
@ 2015-11-26 17:22 Bart Schaefer
  2015-11-26 17:31 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2015-11-26 17:22 UTC (permalink / raw)
  To: zsh-workers

Unless I'm missing something, -x no longer implies -g, and hasn't for a
long time.  See the "scope12" test.


diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index 2b8e544..0aa16d2 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -4,7 +4,7 @@
 
 # Equivalences:
 #  declare	typeset
-#  export	typeset -x		and typeset -x implies -g
+#  export	typeset -x
 #  float	typeset -E
 #  functions	typeset -f
 #  integer	typeset -i


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

* Re: Obsolete comment in B02typeset
  2015-11-26 17:22 Obsolete comment in B02typeset Bart Schaefer
@ 2015-11-26 17:31 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2015-11-26 17:31 UTC (permalink / raw)
  To: zsh-workers

On Thu, 26 Nov 2015 09:22:50 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> Unless I'm missing something, -x no longer implies -g, and hasn't for a
> long time.  See the "scope12" test.

I don't think it ever exactly did: "export" became a synonym for
"typeset -xg" when the -g flag was introduced, and before that the "-x"
flag was kludged (though I can't remember exactly how, i.e. whether
"typeset -x" was then equivalent to "export" --- I've a vague feeling it
was).

pws


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

end of thread, other threads:[~2015-11-26 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-26 17:22 Obsolete comment in B02typeset Bart Schaefer
2015-11-26 17:31 ` Peter Stephenson

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