2008/10/26 Brian <[EMAIL PROTECTED]>: > Jeff Pang wrote: >> >> find /path -type f -exec grep -H "string" {} \; >> >> > > Tried this different ways, all come out with closely the same error > messages. > > With no kbd input, if I change your line to .. > find /test -type f -exec grep -H "fred bloggs" {} \; > > error message is :- > String found where operator expected at test.pl line 2, near "H "fred > bloggs""
sorry. I may didn't say it clearly. I mean you could just try the unix command of "find", with one line will do what you wanted. -- Jeff Pang http://home.arcor.de/pangj/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/