mimicks grep when no args are supplied