bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #5502] find -print0 breaks -path


From: nobody
Subject: [bug #5502] find -print0 breaks -path
Date: Wed, 24 Sep 2003 05:13:07 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; Logica 5.01.1; .NET CLR 1.1.4322)

=================== BUG #5502: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5502&group_id=61

Changes by: James Youngman <address@hidden>
Date: Wed 09/24/2003 at 09:13 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
                  CC |                           | address@hidden


------------------ Additional Follow-up Comments ----------------------------
Andreas Metzler provides an explanation as to why this is not a bug :-



-----Original Message-----

From: Andreas Metzler [mailto:address@hidden

Sent: 23 September 2003 21:46

To: address@hidden

Subject: Re: [bug #5502] find -print0 breaks -path





On Tue, Sep 23, 2003 at 01:51:30PM -0400, address@hidden wrote:

> 

> Summary:  find -print0 breaks -path

> 

> Original Submission:  using:

> 

>   find path ! -path '*/.ssh/*'

> 

> seems to correctly exclude /.ssh/ entries, but using:

> 

>   find path -print0 ! -path '*/.ssh/*'

> 

> causes -path to become ineffective.



No. You're just mistaken on how find's syntax works, the order

matters.



You are looking for

find path ! -path '*/.ssh/*' -print0

            cu andreas





_______________________________________________

Bug-findutils mailing list

address@hidden

http://mail.gnu.org/mailman/listinfo/bug-findutils





=================== BUG #5502: FULL BUG SNAPSHOT ===================


Submitted by: tpratt                  Project: findutils                    
Submitted on: Tue 09/23/2003 at 17:51
Category:  find                       Severity:  2                          
Bug Group:  None                      Resolution:  Invalid                  
Assigned to:  jay                     Originator Name:                      
Originator Email:                     Status:  Closed                       
Release:  None                        Fixed Release:  None                  

Summary:  find -print0 breaks -path

Original Submission:  using:

  find path ! -path '*/.ssh/*'

seems to correctly exclude /.ssh/ entries, but using:

  find path -print0 ! -path '*/.ssh/*'

causes -path to become ineffective.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Wed 09/24/2003 at 09:13       By: jay
Andreas Metzler provides an explanation as to why this is not a bug :-



-----Original Message-----

From: Andreas Metzler [mailto:address@hidden

Sent: 23 September 2003 21:46

To: address@hidden

Subject: Re: [bug #5502] find -print0 breaks -path





On Tue, Sep 23, 2003 at 01:51:30PM -0400, address@hidden wrote:

> 

> Summary:  find -print0 breaks -path

> 

> Original Submission:  using:

> 

>   find path ! -path '*/.ssh/*'

> 

> seems to correctly exclude /.ssh/ entries, but using:

> 

>   find path -print0 ! -path '*/.ssh/*'

> 

> causes -path to become ineffective.



No. You're just mistaken on how find's syntax works, the order

matters.



You are looking for

find path ! -path '*/.ssh/*' -print0

            cu andreas





_______________________________________________

Bug-findutils mailing list

address@hidden

http://mail.gnu.org/mailman/listinfo/bug-findutils



-------------------------------------------------------
Date: Wed 09/24/2003 at 09:12       By: jay
Andreas Metzler provides an explanation as to why this is not a bug :-



-----Original Message-----

From: Andreas Metzler [mailto:address@hidden

Sent: 23 September 2003 21:46

To: address@hidden

Subject: Re: [bug #5502] find -print0 breaks -path





On Tue, Sep 23, 2003 at 01:51:30PM -0400, address@hidden wrote:

> 

> Summary:  find -print0 breaks -path

> 

> Original Submission:  using:

> 

>   find path ! -path '*/.ssh/*'

> 

> seems to correctly exclude /.ssh/ entries, but using:

> 

>   find path -print0 ! -path '*/.ssh/*'

> 

> causes -path to become ineffective.



No. You're just mistaken on how find's syntax works, the order

matters.



You are looking for

find path ! -path '*/.ssh/*' -print0

            cu andreas





_______________________________________________

Bug-findutils mailing list

address@hidden

http://mail.gnu.org/mailman/listinfo/bug-findutils




CC List
*******

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden               | 



No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5502&group_id=61

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]