We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Filter an Array with Patterns
Filter an Array with Patterns
Sort by
recency
|
158 Discussions
|
Please Login in order to post a comment
grep -vi '[a]' || echo
readarray -t MYARR for i in "i" =~ [Aa] ]]; then echo $i fi done
This one line worked very well
sed -e '/a/d' -e '/A/d'