Not very efficient. grep will always loop through all the items every time, even after the wanted element is found.
It's better using a loop from where you exit when the item is found.
In reply to Re: Re: Not Matching String is Matching
by Anonymous Monk
in thread Not Matching String is Matching
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |