Charles Levert wrote: > [...] > src/grep: src: Is a directory > src/grep: tests: Is a directory > src/grep: vms: Is a directory > 2 > ======================================== > > Maybe some find the messages annoying?
Yes, that's why I've always used '-s' and hadn't even noticed that these messages were gone. > Maybe some object to the exit code? They shouldn't if they don't object to the messages. (The message itself is a bit strange though: it doesn't sound like an error. "Cannot read a directory" would be better.) Benno