9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kris Maglione <bsdaemon@comcast.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Is there a Plan 9 equivalent of the find command
Date: Sun, 10 Jun 2007 15:44:12 -0400	[thread overview]
Message-ID: <20070610194412.GD9948@kris.home> (raw)
In-Reply-To: <45609539-34EC-4F53-AECF-769F401EC6F0@tinker.com>

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

On Sun, Jun 10, 2007 at 01:32:25PM -0600, Kim Shrier wrote:
> This is probably me just stuck in the UNIX mind set again.  I have
> looked through the commands and I don't see anything that does what
> find does.  What I am trying to do is look in a directory that has
> many files and subdirectories and find any file that contains a string.
> In UNIX, I would do something like this.
>
> find . -type f -exec grep some_pattern {} \; -print
>
> What is the Plan 9 way?
>
> Thanks,
> Kim

http://plan9.bell-labs.com/wiki/plan9/FAQ/index.html#INSTALLATION_AND_ADMINISTRATION

http://plan9.bell-labs.com/wiki/plan9/UNIX_to_Plan_9_command_translation/index.html

-- 
Kris Maglione

A little humility is arrogance.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2007-06-10 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-10 19:32 Kim Shrier
2007-06-10 19:44 ` Kris Maglione [this message]
2007-06-10 19:44 ` erik quanstrom
2007-06-10 20:10   ` Kris Maglione
2007-06-11 18:09     ` Federico Benavento
2007-06-17  7:27 ` Dan Cross

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=20070610194412.GD9948@kris.home \
    --to=bsdaemon@comcast.net \
    --cc=9fans@cse.psu.edu \
    /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).