Hi Gnu grep folks
I believe that
fgrep -x -f file file
should output the contents of `file`. However, it outputs something very
different for the attached file.
command:
fgrep -x -f dfba.py dfba.py > actual_output.txt
versions:
$ uname -a
Linux 8845f126fe89 4.19.76-linuxkit #1 SMP Thu Oct
On 7/30/20 9:16 AM, Arthur Goldberg wrote:
fgrep -x -f dfba.py dfba.py > actual_output.txt
That command works just fine for me with the file you attached. That is, this
command:
fgrep -x -f dfba.py dfba.py | cmp - dfba.py
outputs nothing, as expected. This is on Ubuntu 18.04.4 which has fg