magic making grep exit after 1st match