GNU bug report logs -
#65722
Bug in your grep tool
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65722 in the body.
You can then email your comments to 65722 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-grep <at> gnu.org
:
bug#65722
; Package
grep
.
(Mon, 04 Sep 2023 02:08:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eduard Mironenko <edouard.mironenko <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-grep <at> gnu.org
.
(Mon, 04 Sep 2023 02:08:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I used grep tool to find a simple keyword in one of my repositories but the
tool could not find anything:
[image: image.png]
But the repository does contain a file with the specific keyword:
[image: image.png]
[image: image.png]
Is there something wrong with grep like a bug that needs to be fixed? I
checked the usage page for a macbook:
[image: image.png]
[image: image.png]
[image: image.png]
it seems to be correct so what gives about this error?
Regards
Edd
[Message part 2 (text/html, inline)]
[image.png (image/png, inline)]
[image.png (image/png, inline)]
[image.png (image/png, inline)]
[image.png (image/png, inline)]
[image.png (image/png, inline)]
[image.png (image/png, inline)]
Information forwarded
to
bug-grep <at> gnu.org
:
bug#65722
; Package
grep
.
(Mon, 04 Sep 2023 05:02:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 65722 <at> debbugs.gnu.org (full text, mbox):
Eduard Mironenko writes:
> Hi,
>
> I used grep tool to find a simple keyword in one of my repositories but the
> tool could not find anything:
Hi Eduard,
You submitted this bug to the GNU grep project, but based on your man
page excerpt, the version of grep on your system is not actually GNU
grep, but rather some form of BSD grep (a different implementation with
a different code base). If you're on macOS, many of the system utilities
won't be GNU versions by default; macOS is more heavily based on BSD
systems, and Apple isn't fond of the software licenses used by the
GNU project.
If you have GNU grep, you can tell by running a command like
$ grep --version
grep (GNU grep) 3.4
Copyright (C) 2020 Free Software Foundation, Inc.
I don't think the volunteers here will be able to solve a problem with
a different grep implementation -- definitely not in case the problem
is really a bug in a different version of grep.
The BSD grep implementation does understand -r and -l in the same way
as the GNU implementation, so something like your command should work.
It would be helpful to have copy-and-pasted textual output in your
submission instead of screenshot images. The screenshots don't
confirm whether you might have accidentally typed a lookalike character
(like 1 instead of l) in your search pattern, or whether there might be
some other character that isn't interpreted as it appears (like somehow
accidentally typing Cyrillic а instead of ASCII a, or any other pair
of characters that may appear visually identical but be interpreted
differently by your computer).
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Mon, 04 Sep 2023 06:18:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Eduard Mironenko <edouard.mironenko <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 04 Sep 2023 06:18:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 65722-done <at> debbugs.gnu.org (full text, mbox):
On 2023-09-03 21:51, Seth David Schoen wrote:
> You submitted this bug to the GNU grep project, but based on your man
> page excerpt, the version of grep on your system is not actually GNU
> grep, but rather some form of BSD grep (a different implementation with
> a different code base).
Thanks for following up. With the understanding that this bug report is
not about GNU grep, I'm closing the bug report. We can reopen it later
if I'm wrong.
> It would be helpful to have copy-and-pasted textual output in your
> submission instead of screenshot images. The screenshots don't
> confirm whether you might have accidentally typed a lookalike character
Yes, plus people like me whose email clients render only text don't see
the screenshots.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 02 Oct 2023 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.