Actualités

To see how associative arrays work, we’re going to look at both the Korn shell and Perl, though only the newest version of the Korn shell (referred to as “korn93”) supports associative arrays.
Reading from command output, we can assign each portion of the date command output to an array like this: $ set -A dt `date` To display just the day of the week, we could then do this: ...