Subject: Re: bug in find
From: [email-masked] (Tim Newsham)

23 Jan 1997 15:07:48 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Original-To: [email-masked] (Scott R. Sewall)
Original-Cc: [email-masked], [email-masked]
In-Reply-To: <[email-masked]> from "Scott R. Sewall" at Jan 23, 97 02:23:45 pm
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Original-Sender: [email-masked]

> In this case it's not find that is trying to create the file 'out',
> but rather the shell.

The problem is not creating the file.  Perhaps the description
was misleading:

    % find . -name '*.c' >& out

That command runs to completion.  The file 'out' is created.
Now if you look in the file out you see:

    % cat out
    find: out: Permission denied

(may not be exact, this is from memory).
The file out contains the output from the find command.  The
find command was for some reason unable to perform an operation
on the file out.  (Perhaps because 'out' is an open file
held open by the shell?).  At any rate, the bug
is definitely find, not the shell.

> -- Scott

                                       Tim N.
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".