On 6/15/25 01:06, Rachel Roch wrote:



14 Jun 2025, 16:21 by adrian.kla...@aklaver.com:


Isn't fgrep -F redundant? As I understand it fgrep = grep -F

You have the wrong end of the stick. ;-)

Don't think so, the -F is redundant.

Try grep -F then fgrep and then fgrep -F on the same file.


As per Grep 3.8 release notes 
(https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html):

"The egrep and fgrep commands, which have been deprecated since  release 2.5.3 
(2007), now warn that they are obsolescent and should  be replaced by grep -E and grep 
-F."


--
Adrian Klaver
adrian.kla...@aklaver.com



Reply via email to