GNU bug report logs - #42623
fgrep -x -f problem

Previous Next

Package: grep;

Reported by: Arthur Goldberg <artgoldberg <at> gmail.com>

Date: Thu, 30 Jul 2020 18:00:02 UTC

Severity: normal

Tags: moreinfo

Full log


View this message in rfc822 format

From: Arthur Goldberg <artgoldberg <at> gmail.com>
To: 42623 <at> debbugs.gnu.org
Subject: bug#42623: fgrep -x -f problem
Date: Thu, 30 Jul 2020 12:16:11 -0400
[Message part 1 (text/plain, inline)]
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 17 19:31:58 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

$ fgrep --version
grep (GNU grep) 3.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others, see 
<http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.

Thanks

Arthur

-- 
Arthur Goldberg
https://www.linkedin.com/in/arthurgoldberg
artgoldberg <at> gmail.com

[actual_output.txt (text/plain, attachment)]
[dfba.py (text/x-python-script, attachment)]

This bug report was last modified 4 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.