I want to ignore the file if the filename match any of these words : copy, cony, coby OR tool, trol, thol etc.
This one works :
ack -l -i --ignore-file=match:/co.y/ --ignore-file=match:/t.ol/ "mystring" _mynukelib
But i want to use single --ignore parameter. I tried to use "|" to create "OR" logic like in normal regex but doesn't work :
ack -l -i --ignore-file=match:/co.y|t.ol/ "mystring" _mynukelib
What is the proper syntax to perform logical OR.
Asked by andio
(113 rep)
Dec 25, 2021, 04:21 PM
Last activity: Dec 26, 2021, 12:40 PM
Last activity: Dec 26, 2021, 12:40 PM