1quicksi Posted January 14, 2004 Share Posted January 14, 2004 For those of you searching for certain strings of letters and or numbers I suggest becoming familar with the "GREP" command. Although you can only use this at the command line under linux it is invaluable tool to assist you in customizing your store. If you need a way to access your server via command line I suggest getting a copy of Putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/ There are many sites with tutorials (search for grep on google) so I will not attempt to rebuild the wheel so to speak but rather give you a quick example. In: /catalog Type: grep -rn 'keywords' * The option "r" is for recursive so we search through all directories under catalog. The option "n" will display the line number of where the string was found in the file. The option "*" will search all files from catalog and down for the string "keywords" Output will look like (shortened output): includes/languages/english/advanced_search.php:57:define('ERROR_INVALID_KEYWORDS', 'Invalid keywords.'); includes/languages/english.php:91:define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.'); As you can see this simple but extremely powerful tool B) Hope someone finds this useful :D knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.