Skip to main content

Timeline for Best way to grep a big binary file?

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Oct 10, 2023 at 7:34 comment added phuclv --mmap is only available in BSD grep, but Linux uses GNU grep
Aug 14, 2015 at 0:05 comment added Michael Martinez As noted in comment to other answer, this will fail to detect a string that happens to fall on a fold boundary. But if you run grep with a few different strings - `grep "string1|string2|string3" - chances are probably slim all three are always falling on a fold boundary, so you'll still find what you're looking for.
Aug 13, 2015 at 23:05 history edited Michael Martinez CC BY-SA 3.0
added 126 characters in body
Aug 13, 2015 at 22:59 history edited Michael Martinez CC BY-SA 3.0
added 126 characters in body
Aug 13, 2015 at 22:53 history edited Michael Martinez CC BY-SA 3.0
edited body
Aug 13, 2015 at 22:44 history answered Michael Martinez CC BY-SA 3.0