LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ignoring comments in ack results (https://www.linuxquestions.org/questions/linux-software-2/ignoring-comments-in-ack-results-4175418863/)

zachwolfe 07-26-2012 06:51 PM

Ignoring comments in ack results
 
I use ack a lot at work and often need to search for a variable or phrase that occurs both in code and in comments. I'm wondering if ack supports this (I don't think it does, there doesn't seem to be any documentation on it). Thanks :)

whizje 07-28-2012 04:10 AM

Yes
http://linux.die.net/man/1/ack


All times are GMT -5. The time now is 09:04 PM.