>_ IzzyLab

Topic breakdown

In regular expressions the dot . is the metacharacter for "any character", so to match an actual dot in a file extension you escape it. The end-of-line anchor $ ties the pattern to the very tail of the line, cutting off matches in the middle of a path and longer extensions. grep -E without -o returns whole lines, which is what you want when the result is a list of paths rather than cut-out fragments.

What's checked

  1. Log paths selected
  2. Non-logs filtered out

What it looks like