Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Exporting arrays
- X-seq: zsh-users 1216
- From: Adam Spiers <adam@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Exporting arrays
- Date: Sun, 11 Jan 1998 18:16:03 +0000
- Reply-to: Adam Spiers <adam.spiers@xxxxxxxxxxxx>
% foo=(a b c)
% typeset | grep zzz
array foo=(a b c)
% export foo=(a b c)
% typeset | grep zzz
array exported foo=(a b c)
However,
% unset foo
% export foo=(a b c)
% typeset | grep zzz
exported foo='(a b c)'
Presumably there's a decent reason for this behaviour; would
someone be good enough to explain it to me?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author