xzgrep
Zoek bestanden die mogelijk worden gecomprimeerd met
xz
,lzma
,gzip
,bzip2
,lzop
, ofzstd
met behulp van reguliere expressies. Bekijk ook:grep
. Meer informatie: https://manned.org/xzgrep.
xzgrep "{{zoekpatroon}}" {{pad/naar/bestand}}
xzgrep {{[-F|--fixed-strings]}} "{{exact_string}}" {{pad/naar/bestand}}
xzgrep {{[-n|--line-number]}} "{{zoekpatroon}}" {{pad/naar/bestand}}
?
, +
, {}
, ()
en |
), in case-ongevoelige modus:xzgrep {{[-E|--extended-regexp]}} {{[-i|--ignore-case]}} "{{zoekpatroon}}" {{pad/naar/bestand}}
xzgrep --{{context|before-context|after-context}} {{3}} "{{zoekpatroon}}" {{pad/naar/bestand}}
xzgrep {{[-H|--with-filename]}} {{[-n|--line-number]}} --color=always "{{zoekpatroon}}" {{pad/naar/bestand}}
xzgrep {{[-o|--only-matching]}} "{{zoekpatroon}}" {{pad/naar/bestand}}