Ok in that case, would it be possible to have an array as the first input to grep? Basically,I just want to have more than 1 search string.
Modifying the problem a bit, let's say now I want to get the subset that has the subtring 102 or 101 in them.
thanks