Realization of utility grep (without options)