Grep – Bash ili WSL
Upotrijebi “| less blabla” samo ako pronađenog teksta ima mnogo i trebaš listati kroz više ekrana.
Uzorak u CLI
grep --color=always --ignore-case --recursive "error\|warning" | less --raw-control-chars --chop-long-lines --quiet
Uzorak iz datoteke “pogreske.popis”*
grep --color=always --ignore-case --recursive --file="pogreske.popis" | less --raw-control-chars --chop-long-lines --quiet
Skraćeno
grep --color=always -rif "pogreske.popis" | less -SRQ
Powershell
Get-ChildItem -Recurse | ForEach-Object {select-string -path "*" -Pattern (Get-Content "pogreske.popis")} | less -SRQ
*Uzorak
Sadržaj datoteke “pogreske.popis” (pazi! mora biti LF, ne CRLF):
error warning failure failed cannot can not disabled unable catastrophic fatal
grep xgrep egrep search xsearch find xfind traži xtraži trazi xtrazi log xlog

