summary refs log tree commit diff
path: root/Etc
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-10-09 13:19:26 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-10-09 13:19:26 +0000
commitae8f4db3857a317a2cc2ff1c7533b7e911ec3221 (patch)
treeb01696e279114da061936b3f8066ace78e6a4c4e /Etc
parent3ad5e3e7fefa823cb9b1186507999b0d5d9f3f2d (diff)
downloadzsh-ae8f4db3857a317a2cc2ff1c7533b7e911ec3221.tar.gz
zsh-ae8f4db3857a317a2cc2ff1c7533b7e911ec3221.tar.xz
zsh-ae8f4db3857a317a2cc2ff1c7533b7e911ec3221.zip
mention that typeset doesn't default parameters to scalar in ksh
Diffstat (limited to 'Etc')
-rw-r--r--Etc/STD-TODO5
1 files changed, 5 insertions, 0 deletions
diff --git a/Etc/STD-TODO b/Etc/STD-TODO
index a228dee96..745a196d4 100644
--- a/Etc/STD-TODO
+++ b/Etc/STD-TODO
@@ -59,6 +59,11 @@ All parameters in ksh are indexed arrays.  That's why $array has to mean
 ${array[0]}, and why subscripts can't be used to extract substrings from
 scalars.
 
+`typeset a' in ksh does not initialise `a' to be a scalar with the empty
+string as its value but leaves it undefined. If it is used in array
+context, its value will be that of an empty array so, for example
+"${a[@]}" will return nothing.
+
 In ksh,
 	exec 3<file
 causes file 3 to be close on exec.  DGK says: "This allows scripts to