On 16.08.2009, at 01:27, Eliot Miranda wrote:
On Sat, Aug 15, 2009 at 9:34 AM, David T. Lewis lewis@mail.msen.com wrote:
My preference would be to remove spaces from the file names in the Mac OS subtree.
If you are working from a Terminal, try something like this to scan for all C source and header files that contain the string 'foobar':
$ find 'Mac OS' -name '*.[ch]' -exec grep -l foobar {} ;
If there are spaces in the filename then you need to put quotes around the file name expansion, i.e.
$ find 'Mac OS' -name '*.[ch]' -exec grep -l foobar "{}" ;
No you don't. This is not expanded by the shell.
- Bert -