From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] find command reloaded
Date: Fri, 22 Jan 2010 19:29:58 +0100 [thread overview]
Message-ID: <a560a5d01001221029p5c17a255r6b05c7197b96fc33@mail.gmail.com> (raw)
In-Reply-To: <20100122181931.GA5971@wyrm.eecs.umich.edu>
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
2010/1/22 Joseph Xu <josephzxu@gmail.com>
>
> Also, the title of this thread is a bit misleading. As far as I know,
> find doesn't have the option to test for the contents of files, so even
> with find you'd have to use xargs and grep.
>
Let me explain then.
In Linux I'd use something like
find . -type f -exec grep -l foo {} \;
So, you are right about the need to use grep. On the other hand, the linux
find command takes care of the repetition...
R
[-- Attachment #2: Type: text/html, Size: 750 bytes --]
next prev parent reply other threads:[~2010-01-22 18:29 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 17:29 Rudolf Sykora
2010-01-22 17:36 ` ron minnich
2010-01-22 17:44 ` Rudolf Sykora
2010-01-22 18:15 ` ron minnich
2010-01-22 18:20 ` erik quanstrom
2010-01-22 18:59 ` Rudolf Sykora
2010-01-22 18:40 ` Rudolf Sykora
2010-01-22 18:52 ` ron minnich
2010-01-22 17:41 ` maht
2010-01-22 18:00 ` Rudolf Sykora
2010-01-22 17:44 ` Robert Raschke
2010-01-22 17:59 ` Rudolf Sykora
2010-01-22 18:08 ` Corey Thomasson
2010-01-22 18:12 ` andrey mirtchovski
2010-01-22 18:19 ` Joseph Xu
2010-01-22 18:26 ` ron minnich
2010-01-22 18:29 ` Rudolf Sykora [this message]
2010-01-22 18:42 ` ron minnich
2010-01-22 19:00 ` geoff
2010-01-22 19:37 ` John Stalker
2010-01-22 19:45 ` erik quanstrom
2010-01-22 20:16 ` Jason Catena
2010-01-22 20:26 ` ron minnich
2010-01-22 20:23 ` John Stalker
2010-01-22 20:31 ` erik quanstrom
2010-01-22 20:57 ` John Stalker
2010-01-22 20:38 ` ron minnich
2010-01-22 21:07 ` Steve Simon
2010-01-22 21:18 ` Tim Newsham
2010-01-22 21:11 ` John Stalker
2010-01-22 21:54 ` erik quanstrom
2010-01-22 22:08 ` John Stalker
2010-01-23 6:04 ` lucio
2010-01-23 10:16 ` John Stalker
2010-01-23 15:02 ` Rudolf Sykora
2010-01-23 15:24 ` Steve Simon
2010-01-23 15:44 ` Rudolf Sykora
2010-01-24 18:05 ` Tim Newsham
2010-01-24 19:46 ` David Leimbach
2010-01-23 15:42 ` erik quanstrom
2010-01-23 15:52 ` Rudolf Sykora
2010-02-03 17:58 ` Rudolf Sykora
2010-02-03 18:23 ` Rudolf Sykora
2010-02-03 18:28 ` erik quanstrom
2010-02-03 18:40 ` Rudolf Sykora
2010-01-22 18:13 ` Jason Catena
2010-01-22 19:17 ` John Stalker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a560a5d01001221029p5c17a255r6b05c7197b96fc33@mail.gmail.com \
--to=rudolf.sykora@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).