[Bug 280676] grep default recursive behavior differs from manpage
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280676] grep default recursive behavior differs from manpage"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280676] grep default recursive behavior differs from manpage"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280676] grep default recursive behavior differs from manpage"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 280676] grep default recursive behavior differs from manpage"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Aug 2024 18:31:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280676 Bug ID: 280676 Summary: grep default recursive behavior differs from manpage Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: radoslaw.piliszek@gmail.com FreeBSD's `grep(1)` describes that `-p` is the default when using `-R`, i.e., that symlinks are *not* followed. However, it seems that actually `-S` is the default, i.e., symlinks *are* followed (when using only `-R`). Notably, the man page is internally coherent (both `-p` and `-S` descriptions claim that `-p` is the default). I don't know FreeBSD's previous behavior of grep so cannot comment whether it's the man page that is supposed to be wrong or grep's behavior but they certainly disagree on the matter. Bug found on Chimera Linux and verified on FreeBSD 14.1-STABLE which is the source of Chimera Linux's base utils at the moment. -- You are receiving this mail because: You are the assignee for the bug.