I have an array something like this, array=( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) I would like to list values “b, e, o, u, z” I tried using:
`echo ${array[1,4,14, 20, 25]}`
[This command doesn’t work] The output be: B E O U Z I’m not looking for
echo ${array[1] array[4] array [14]...}
What would be the perfect command to get this output?