Xref: utzoo comp.arch:21357 comp.os.misc:1642 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!uunet.UU.NET!sef From: sef@kithrup.COM (Sean Eric Fagan) Newsgroups: comp.arch,comp.os.misc Subject: Re: Globbing Message-ID: <125251@uunet.UU.NET> Date: 11 Mar 91 10:05:56 GMT References: <5573:Feb2307:19:4491@kramden.acf.nyu.edu> <00085@meph.UUCP> <10803@dog.ee.lbl.gov> Sender: usenet@uunet.UU.NET Followup-To: comp.os.misc Organization: Kithrup Enterprises, Ltd. Lines: 20 Nntp-Posting-Host: uunet.uu.net Originator: sef@uunet.UU.NET In article <10803@dog.ee.lbl.gov> torek@elf.ee.lbl.gov (Chris Torek) writes: >(Sigh, I had hoped my observation that `what works in one system is not >necessarily appropriate/best for all' would end this, but...:) It should also be redirected to the appropriate group (comp.os.misc). But *noooo*, it keeps popping up in comp.arch. >Actually: > find / -name '*.c' -exec grep 'include.*\.h' {} \; I would suggest find / -name '*.c' -print | xargs grep 'include.*\.h' If one's unix has infinite space for the exec args, then just use the other method Chris suggested. -- Sean Eric Fagan, moderator, comp.std.unix.