On Wed, Jun 26, 2024 at 11:19 AM alex xmb sw ratchev <[email protected]> wrote: > > printf %s\\n "${arr[@]:1:5}"
For my array below, this would give you one two three four five > On Tue, Jun 11, 2024, 12:49 PM Zachary Santer <[email protected]> wrote: >> >> $ array=( zero one two three four five six ) >> $ printf '%s\n' "${array[@]( 1 5 )}" >> one >> five This is different functionality.
