bugfindutils - Bugs: bug #5502, find -print0 breaks -path

 
 

bug #5502: find -print0 breaks -path

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Tue 23 Sep 2003 05:51:29 PM UTC  
 
Category: findSeverity: 1,5
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 24 Sep 2003 09:13:06 AM UTC, comment #2:

Andreas Metzler provides an explanation as to why this is not a bug :-

-----Original Message-----
From: Andreas Metzler [mailto:ametzler@downhill.at.eu.org]
Sent: 23 September 2003 21:46
To: -unavailable-
Subject: Re: [bug #5502] find -print0 breaks -path

On Tue, Sep 23, 2003 at 01:51:30PM -0400, -unavailable- 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
-unavailable-
http://mail.gnu.org/mailman/listinfo/bug-findutils

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 24 Sep 2003 09:12:06 AM UTC, comment #1:

Andreas Metzler provides an explanation as to why this is not a bug :-

-----Original Message-----
From: Andreas Metzler [mailto:ametzler@downhill.at.eu.org]
Sent: 23 September 2003 21:46
To: -unavailable-
Subject: Re: [bug #5502] find -print0 breaks -path

On Tue, Sep 23, 2003 at 01:51:30PM -0400, -unavailable- 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
-unavailable-
http://mail.gnu.org/mailman/listinfo/bug-findutils

James Youngman <jay>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 24 Sep 2003 09:12:06 AM UTCjaySeverity3 - Normal=>(Error - Not Found)
  StatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)
Wed 24 Sep 2003 09:12:05 AM UTCjayCategoryNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1