diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-08-28 17:06:27 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-08-28 17:06:27 +0000 |
commit | af071465b1ef324f35741c681529f39b88a95f51 (patch) | |
tree | 066e6aa41be4adba75bfda54055332a120264e16 /Test/B04read.ztst | |
parent | ca7269e82da4175557b9ed1fc19389f693581b35 (diff) | |
download | zsh-af071465b1ef324f35741c681529f39b88a95f51.tar.gz zsh-af071465b1ef324f35741c681529f39b88a95f51.tar.xz zsh-af071465b1ef324f35741c681529f39b88a95f51.zip |
29731: fix read -AE, test that and read -Ae
Diffstat (limited to 'Test/B04read.ztst')
-rw-r--r-- | Test/B04read.ztst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Test/B04read.ztst b/Test/B04read.ztst index ad427dc0d..25c3d4173 100644 --- a/Test/B04read.ztst +++ b/Test/B04read.ztst @@ -93,3 +93,20 @@ read foo) <<<bar 1:return status on failing to set parameter ?(eval):2: read-only variable: foo + + read -AE array <<<'one two three' + print ${(j.:.)array} +0:Behaviour of -A and -E combination +>one +>two +>three +>one:two:three + + array=() + read -Ae array <<<'four five six' + print ${(j.:.)array} +0:Behaviour of -A and -e combination +>four +>five +>six +> |