[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdevelop/3.4/parts/grepview
From:       Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date:       2006-07-07 12:35:56
Message-ID: 1152275756.308735.8219.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 559466 by dakon:

Use one grep with four arguments instead of four single processes.


 M  +4 -4      grepviewwidget.cpp  


--- branches/kdevelop/3.4/parts/grepview/grepviewwidget.cpp #559465:559466
@@ -229,10 +229,10 @@
 	QString command = filepattern + " " ;
 	if (grepdlg->ignoreSCMDirsFlag())
 	{
-		command += "| grep -v \"SCCS/\" ";
-		command += "| grep -v \"CVS/\" ";
-		command += "| grep -v \"\\.svn/\" ";
-		command += "| grep -v \"_darcs/\" ";
+		command += "| grep -v -e \"SCCS/\" ";
+		command += "-e \"CVS/\" ";
+		command += "-e \"\\.svn/\" ";
+		command += "-e \"_darcs/\" ";
 	}
 
 	// quote spaces in filenames going to xargs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic