On 6/26/24 2:18 PM, Zachary Santer wrote:

On Tue, Jun 11, 2024, 12:49 PM Zachary Santer <zsan...@gmail.com> wrote:

$ array=( zero one two three four five six )
$ printf '%s\n' "${array[@]( 1 5 )}"
one
five

This is different functionality.

Equivalent to printf '%s\n' "${array[1}" "${array[5]}". The innovation Zach
wants is to have a single word expansion to do this.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to