You are viewing a single comment's thread. Return to all comments →
readarray arr echo ${arr[@]/*[aA]*/}
Using grep is missing the point of the exercise.
Seems like cookies are disabled on this browser, please enable them to open this website
Filter an Array with Patterns
You are viewing a single comment's thread. Return to all comments →
Using grep is missing the point of the exercise.