snippets · bash

Find lines matching A but not B

Sucht Treffer A und filtert Zeilen mit B wieder heraus.

rg -n -- {PATTERN_A} {PATH} | rg -v -- {PATTERN_B}