The correct answer is (a) sed
To elaborate: sed is a multipurpose tool which performs the function of several filters together. This filter is derived from the ed (original UNIX editor). It performs non-interactive operations on a data stream. It uses instructions to act on a text for selecting lines, with an action to be taken.