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*

2
  • you could even use exemple1 on such things as a dd output, etc. Commented Sep 11, 2017 at 16:04
  • interresting side note : grep is more efficient the bigger the known part of the regexp is (ex: looking for the string or regexp s is much, mush slower than matching something and this is much slower than matching something even much longer (the latter allowing the regexp match to skip larger portions of the input when differing). On huge files, it basically "divides" the time to parse it by the length ratio (ie, grepping 1 known character is almost 40 times slower than matching a string of 40 known characters. I didn't prof it but it is really noticeable.) Commented Sep 11, 2017 at 16:08