delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/21/06:02:23

X-Spam-Check-By: sourceware.org
Date: Wed, 21 Jun 2006 12:26:31 +0300
From: root <CRISTIROOPET02+root AT bucharest-mof DOT ro DOT ibm DOT com>
To: <cygwin AT cygwin DOT com>
Subject: find dir <expr1> -o <expr2> does not work
In-Reply-To: <Pine.INX.4.33.0606211126270.1287-100000@CristiROOPET02>
Message-ID: <Pine.INX.4.33.0606211225140.1283-100000@CristiROOPET02>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,
I posted my request for help, but the client i used truncated the message.
I post it again for your attention.
By the way
find common -type f -o -type l -print  does not works either.
I think the -o flag  is returning false.

I am trying to make a tar with files that are in a directory and checks
some condition
The problem i encountered is next :
find common  -type f   give the following output. (which is good)

common/VERSION
common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap/RcMapCreateOptionsStep.java


find common -type f -o -type l
(get nothing here )

find common -type f -o
common
common/gui
common/gui/svcConsole
common/gui/svcConsole/src
common/gui/svcConsole/src/com
common/gui/svcConsole/src/com/ibm
common/gui/svcConsole/src/com/ibm/storage
common/gui/svcConsole/src/com/ibm/storage/svc
common/gui/svcConsole/src/com/ibm/storage/svc/console
common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap
find common -type f -o -type f
(nothing)
It seems that  "find common -type f -o -<exprs>
returns nothing.
I'm using winXP. On linux same comand works fine...
Thanks for your time.
cristi petrisor




On Wed, 21 Jun 2006, cristi petrisor wrote:

> I am trying to make a tar with files that are in a directory and checks
> some condition
> The problem i encountered is next :
> find common  -type f   give the following output. (which is good)
>
> common/VERSION
> common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap/RcMapCreateOptionsStep.java
>
> find common -type f -o -type l
> (get nothing here )
>
> find common -type f -o
> common
> common/gui
> common/gui/svcConsole
> common/gui/svcConsole/src
> common/gui/svcConsole/src/com
> common/gui/svcConsole/src/com/ibm
> common/gui/svcConsole/src/com/ibm/storage
> common/gui/svcConsole/src/com/ibm/storage/svc
> common/gui/svcConsole/src/com/ibm/storage/svc/console
> common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap
>
> find common -type f -o -type f
> (nothing)
> It seems that  "find common -type f -o -<exprs>
> returns nothing.
> I'm using winXP. On linux same comand works fine...
> Thanks for your time.
> cristi petrisor
>
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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