You are viewing a single comment's thread. Return to all comments →
readarray countries
for country in "country" | grep -v "[aA]" | tr -d '\n'
done
yeah thats all... no clue why people are writing such complex lines of code
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 →
readarray countries
for country in "country" | grep -v "[aA]" | tr -d '\n'
done
yeah thats all... no clue why people are writing such complex lines of code