delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/23/15:07:48

From: newsham AT aloha DOT net (Tim Newsham)
Subject: Re: bug in find
23 Jan 1997 15:07:48 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199701232039.KAA08546.cygnus.gnu-win32@haleakala.aloha.net>
Mime-Version: 1.0
Original-To: scott AT transition DOT com (Scott R. Sewall)
Original-Cc: newsham AT aloha DOT net, gnu-win32 AT cygnus DOT com
In-Reply-To: <32E7C8D1.1A5@transition.com> from "Scott R. Sewall" at Jan 23, 97 02:23:45 pm
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> 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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019