Descriptions Last checked against version &grep-contversion;. Program file descriptions egrep egrep prints lines from files matching an extended regular expression pattern. fgrep fgrep prints lines from files matching a list of fixed strings, separated by newlines, any of which is to be matched. grep grep prints lines from files matching a basic regular expression pattern.