POSIX has these notes:

RATIONALE

    This grep has been enhanced in an upwards-compatible way to provide the 
exact functionality of the historical egrep and fgrep commands as well. It was 
the clear intention of the standard developers to consolidate the three greps 
into a single command.

    The old egrep and fgrep commands are likely to be supported for many years 
to come as implementation extensions, allowing historical applications to 
operate unmodified.

https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/


I don't think there's anything to gain (besides saving 2 filesystem
blocks) by removing egrep and fgrep.

Christoph

Reply via email to