Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • This has helped me when using the -z flag to match across several lines. Commented Apr 24, 2018 at 7:51
  • 3
    It has worked for me, but still weird because my file isn't a binary file. [grid@serverdg2 trace]$ file listener.log listener.log: data Commented Dec 1, 2020 at 3:42
  • 3
    It is enough, if your file has a single non-decodable character, and grep will fail (if not used with -a) Commented May 5, 2022 at 11:43