From 9188b23b2495814575bd9a7d1397c02c2dfc67dd Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 25 Aug 2001 17:26:20 +0000 Subject: Remark about array-ness of ksh parameters. --- Etc/STD-TODO | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Etc') diff --git a/Etc/STD-TODO b/Etc/STD-TODO index df9ff64fd..4f964e37f 100644 --- a/Etc/STD-TODO +++ b/Etc/STD-TODO @@ -54,3 +54,7 @@ Ksh automatically searches FPATH for any command not found in PATH, and autoloads the file if found. The "autoload" command is only required if you want FPATH to be searched before PATH, e.g. because the function has the same name as a command in PATH. + +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. -- cgit 1.4.1