Return new line by grep if not match found

Viewed 3937

I would like to modify this code to return an empty line if no match is found by grep:

while read vl ; do grep "^$vl" Table_S4.tab ; done < 1
1 Answers
Related