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