LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-26-2012, 07:51 PM   #1
zachwolfe
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
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
 
Old 07-28-2012, 05:10 AM   #2
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 583

Rep: Reputation: 129Reputation: 129
Yes
http://linux.die.net/man/1/ack
 
  


Reply

Tags
ack, grep, regex


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ack retransmission jackandking Linux - Networking 5 07-05-2007 07:04 AM
ACK! what is my problem? zmaster Linux - Software 2 06-21-2005 06:33 PM
Delayed ACK Z-Ice Linux - Networking 4 05-24-2004 04:46 PM
Delayed ACK Z-Ice Mandriva 0 05-23-2004 10:39 PM
Ack, Help! meddleRPI Linux - General 2 05-23-2003 11:32 PM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration