> On Jan 9, 2023, at 6:32 AM, Chinh Le <[email protected]> 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

-- 
You received this message because you are subscribed to the Google Groups "ack 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ack-users/D865BE6D-3FCC-4056-92D2-4C7078849841%40petdance.com.

Reply via email to