> On Jan 9, 2023, at 6:32 AM, Chinh Le <
chinh...@gmail.com> wrote:
>
> Running `ack -ilc someString --[no]ignore-dir=dist` to search 'someString' in 'dist' directory does not work.
If you want to search in a directory, just specify the directory name.
ack -ilc someString dist
The --ignore-dir option is for when you have ack searching all the directories, and you want to ignore a specific directory.
The --noignore-dir lets you override a previous --ignore-dir option, such as from inside an .ackrc file.
Andy