bug-findutils
[Top][All Lists]
Advanced

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

[bugs #11192] Inconsistent display of warningmessage about options and n


From: Andreas Metzler
Subject: [bugs #11192] Inconsistent display of warningmessage about options and non-options
Date: Thu, 02 Dec 2004 12:28:23 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

This mail is an automated notification from the bugs tracker
 of the project: findutils.




/**************************************************************************/
[bugs #11192] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11192>
Project: findutils
Submitted by: Andreas Metzler
On: Don 02.12.2004 at 17:22

Category:  find
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Originator Name:  
Originator Email:  
Status:  Open
Release:  4.2.8
Fixed Release:  None


Summary:  Inconsistent display of warningmessage about options and non-options

Original Submission:  Recent releases of find display a warning message if 
overall options like -maxdepth appear in the middle of the expression, however 
displaying this warning is inconsistent:

downhill:/etc# find . -xdev -depth -type f -print > /dev/null
find: warning: you have specified the -depth option after a non-option argument 
-xdev, but options are not positional (-depth affects tests specified before it 
as well as those specified after it).  Please specify options before other 
arguments.

# but -depth *is* a non-option.

downhill:/etc# find . -type f -depth -print > /dev/null
find: warning: you have specified the -depth option after a non-option argument 
-type, but options are not positional (-depth affects tests specified before it 
as well as those specified after it).  Please specify options before other 
arguments.

#switching the nooptions works:

downhill:/etc# find . -depth -xdev -type f -print > /dev/null

        cu andreas











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11192>

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







reply via email to

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