is it possible that your files are utf-16? I've found that grep under cygwin at least does not work on utf-16 files? An od of the first few bytes will tell you. It will have FEFF as the first two bytes if it is utf-16.
On Wed, Apr 22, 2009 at 11:22 AM, Chloe <starrych...@oliveyou.net> wrote: > Files in subdirectories are not being searched. See example below. > TableDictionary.php is not found. > > ch...@dumbopc /cygdrive/c/Documents and Settings/Chloe/My Documents/GC > Infotech/ > FFMS/public_html/payscape/psa > $ grep bugs modules/*.php > > modules/TableDictionary.php:include_once("metadata/accounts_bugsMetaData.php"); > > ch...@dumbopc /cygdrive/c/Documents and Settings/Chloe/My Documents/GC > Infotech/ > FFMS/public_html/payscape/psa > $ grep -r bugs *.php > soap.php: $bugs = $contact->get_linked_beans('bugs','Bug'); > > ch...@dumbopc /cygdrive/c/Documents and Settings/Chloe/My Documents/GC > Infotech/ > FFMS/public_html/payscape/psa > $ grep --recursive bugs *.php > soap.php: $bugs = $contact->get_linked_beans('bugs','Bug'); > > ch...@dumbopc /cygdrive/c/Documents and Settings/Chloe/My Documents/GC > Infotech/ > FFMS/public_html/payscape/psa > $ > -- ------ emilio