On 9/27/18 8:42 AM, Dennis Williamson wrote:

> array_shift=2
> arr=("${arr[@]:$array_shift}")
> 
> Done.

This is the simplest and most elegant solution.

-- 
``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