[Bug 297638] ldd reports signal 13 when in pipeline
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 297638] ldd reports signal 13 when in pipeline"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Aug 2026 14:46:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297638
Benjamin Jacobs <freebsd@dev.thsi.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |freebsd@dev.thsi.be
--- Comment #2 from Benjamin Jacobs <freebsd@dev.thsi.be> ---
(In reply to Markus Wild from comment #1)
It looks like this is the expected behaviour. See the manual page for the -q
flag: "grep will only search a file until a match has been found".
> I can work around the problem by using a temp file instead of a pipe, but I don't think this is intended behavior...
You can also do `ldd /lib/path 2>/dev/null | fgrep -q patt` or `ldd /lib/path |
fgrep patt > /dev/null`, the later being probably preferred.
--
You are receiving this mail because:
You are the assignee for the bug.