I’m using ack (the grep replacement) on Windows XP under Strawberry Perl. Where should the .ackrc config file be placed, since ~/.ackrc is not reasonable on Windows?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For windows (MSWin32, anyway), ack looks in the following places and uses the first file found:
All but the first are subject to glob-expansion, so watch out for meta-characters in your environment variables.
When not on windows, HOME and USERPROFILE are replaced by ~ and HOME, respectively.