zsh-workers
 help / color / mirror / code / Atom feed
* Export, arrays, and ksh emulation
@ 2000-02-04 17:15 Bart Schaefer
  2000-02-04 18:20 ` Oliver Kiddle
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2000-02-04 17:15 UTC (permalink / raw)
  To: zsh-workers

Zsh does not export arrays.  It marks them exported, but does not actually
put anything into the environment.

Ksh exports arrays by putting the first array element in the environment,
the same way that $array == ${array[0]} (as in zsh with ksh_arrays set).

Should zsh export the first element of an array, either when ksh_arrays is
set or just under ksh emulation, or in some other condition (new option)?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

end of thread, other threads:[~2000-02-04 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-04 17:15 Export, arrays, and ksh emulation Bart Schaefer
2000-02-04 18:20 ` Oliver Kiddle

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