Date: Mon, 29 Apr 2024 08:26:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 237873] Inconsistent behavior between the program and its man page bsdgrep(1) Message-ID: <bug-237873-227-zEAI7TO7dl@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237873-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237873 Wolfram Schneider <wosch@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wosch@FreeBSD.org Blocks| |230332 Status|New |Open --- Comment #4 from Wolfram Schneider <wosch@FreeBSD.org> --- It seems that the -p option does not work in bsdgrep. How to reproduce: date > date ln -s date symlink # two results expected grep -r . ./date:Mon Apr 29 08:21:22 UTC 2024 ./symlink:Mon Apr 29 08:21:22 UTC 2024 # one result expected grep -pr . ./date:Mon Apr 29 08:21:22 UTC 2024 ./symlink:Mon Apr 29 08:21:22 UTC 2024 # gnu grep works fine, two hits for -R and one for -r options ggrep -R . date:Mon Apr 29 08:21:22 UTC 2024 symlink:Mon Apr 29 08:21:22 UTC 2024 ggrep -r . date:Mon Apr 29 08:21:22 UTC 2024 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230332 [Bug 230332] TRACKING: bsdgrep as /usr/bin/grep -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237873-227-zEAI7TO7dl>
