[Bug 13871] New: [feature request] grep switches for excluding binary files or certain file extensions

bugzilla at busybox.net bugzilla at busybox.net
Sun Jun 27 09:55:42 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13871

            Bug ID: 13871
           Summary: [feature request] grep switches for excluding binary
                    files or certain file extensions
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: vadimkantorov at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

These are useful for recursive grepping to avoid (slow and useless) printing
spurious matches in binary files (such as images).

OpenBSD grep supports "-I" to ignore binary files:
https://man.openbsd.org/grep.1

FreeBSD grep supports both "-I" and "--exclude":
https://www.freebsd.org/cgi/man.cgi?query=grep&sektion=&n=1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list