[cvs] [Wiki] changed: FAQ/Admin/Config

Wiki Guest wiki at wiki.horde.org
Wed Aug 3 03:48:00 PDT 2005


guest [201.144.81.185]  Wed, 03 Aug 2005 03:48:00 -0700

Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision:  1.8
Change log:  Add a short egrep option in place of find.

@@ -143,12 +143,21 @@
 
 If you are having difficulty finding the file which contains the phrase you want to change, the following Unix command may be of assistance:
 
 <code>
-find horde/ -type f -exec grep -li 'Your Phrase' {} \;
+find horde/ -type f -exec grep -li 'Your Phrase' {} ;
 </code>
 
 where {{horde/}} is the root directory of your Horde installation.
+
+Assuming that your flavor of unix supports it, you will probably find egrep -r [recursive] to be faster for the above:
+
+<code>
+egrep -rli  'Your Phrase' horde/
+</code>
+
+To make your search case sensitive remove the -i.
+To see the match rather than just the file name remove the -l.
 
 Note: The following question may also be of help to you if you are changing the locale files.
 
 ++++ How can I provide another translation for Horde/IMP's messages?


More information about the cvs mailing list