match lines instead of grep