RE: problem with find -exec

2002-04-23 Thread "Schaible, Jörg"
Hi Mike, >Also I didn't understand that >shell stomps >the ; and also, also I didn't know that the space was required Well, I know, because I'd once stumbled, too . >(the second >line of the man page for find -exec doesn't have a space btw). Uups. IIRC I *had* problems without the space. >T

RE: problem with find -exec

2002-04-23 Thread "Schaible, Jörg"
Hi Mike, >find . -xdev -exec 'grep -l -F "string" {}'; >I'd be grateful if anyone can see what I'm doing wrong, excerpt from the man page: -exec command ; Execute command; true if 0 status is returned. All following arguments to find are taken to be argume

problem with find -exec

2002-04-23 Thread Davies, Mike
Hi, I'm using Cyywin on Win 98 SE and I have a problem with the find command. The command I am trying to run is : find . -xdev -exec 'grep -l -F "string" {}'; This command works fine on another flavour of unix but under Cygwin it gives me the error : find: missing argument to `-exec' I'v