Re: find in conjuction with grep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08:35 13 Aug 2004, Kevin Wang <rightsock@xxxxxxxxx> wrote:
| On Fri, 13 Aug 2004 14:49:15 +1000, Cameron Simpson <cs@xxxxxxxxxx> wrote:
| > | find . -exec grep "string" {}
| > | what happens when you have a filename with a space in it?
| > | quotes?
| > | double quotes?
| > 
| > Nothing. No quoting is needed _at_all_! because the shell is not involved in
| > passing the filename to grep.
| 
| for gnu find, that does appear to be true.  It's unfortunately not
| true of all versions of find.  this behaviour is new to me.

I think you're very very mistaken. I have NEVER used a find which goes via
the shell and I doubt anyone would be silly enough to implement one, and
I've used find on many UNIX platforms. Have you a specific counterexample?

| > A larger issue is that you're doing things as root without knowing how
| > they work.
| 
| Which describes most people in this world.  I for one, have no clue
| what cups does under the covers [...] It's impossible to be an expert on
| everything, [...]

True enough. But passing around misinformation is worse.
Still, I overflamed. Sorry. Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Admit Nothing.  Blame Everyone.  Be Bitter.
        - Matt Hopkins, DoD #1197, <matt@xxxxxxxxxxxxxxxxxxxxxxxx>



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux