mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: jlnance@intrex.net
To: linux-kernel@vger.kernel.org
Subject: Re: [OT] -print argument to find (was [PATCH for 2.4] fix find to not stumble over BK)
Date: Wed, 17 Jul 2002 11:41:10 -0400	[thread overview]
Message-ID: <20020717114110.B1688@tricia.dyndns.org> (raw)
In-Reply-To: <20020717020535.GB1901@tapu.f00f.org>; from cw@f00f.org on Tue, Jul 16, 2002 at 07:05:35PM -0700

On Tue, Jul 16, 2002 at 07:05:35PM -0700, Chris Wedgwood wrote:
> On Wed, Jul 17, 2002 at 02:40:33AM +0100, Alan Cox wrote:
> 
>     The -print is not needed. See IEEE Std 1003.1-2001
> 
>     If no expression is present, -print shall be used as the
>     expression.
> 
> [...]
> 
> Interesting...
> 
> 
> That said, I do out of habit as Solaris did/does require print and so
> does some other commercial OS (I forget which now).

Oh, its even more interesting.  If the -print is not present find prints
out the name of the pruned directories.  If it is present it does not:

    vmware> find . -name tmpdir -prune -o -type d
    .
    ./tmpdir
    ./output
    vmware> find . -name tmpdir -prune -o -type d -print
    .
    ./output

Jim

      reply	other threads:[~2002-07-17 15:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17  0:08 [PATCH for 2.4] fix find to not stumble over BK Larry McVoy
2002-07-17  1:40 ` Alan Cox
2002-07-17  2:05   ` [OT] -print argument to find (was [PATCH for 2.4] fix find to not stumble over BK) Chris Wedgwood
2002-07-17 15:41     ` jlnance [this message]

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=20020717114110.B1688@tricia.dyndns.org \
    --to=jlnance@intrex.net \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®