grep-ed: Work with ag2