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: James Youngman
Subject: [bugs #11192] Inconsistent display of warningmessage about options and non-options
Date: Fri, 03 Dec 2004 13:03:53 -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] Latest Modifications:

Changes by: 
                James Youngman <address@hidden>
'Date: 
                Fri 12/03/04 at 17:57 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | jay


------------------ Additional Follow-up Comments ----------------------------
This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the 
next official release of findutils, or check out a copy 
of the code from the CVS repository for findutils.







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

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

Category:  find
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Privacy:  Public
Assigned to:  jay
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

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


-------------------------------------------------------
Date: Fri 12/03/04 at 17:57         By: James Youngman <jay>
This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the 
next official release of findutils, or check out a copy 
of the code from the CVS repository for findutils.


-------------------------------------------------------
Date: Thu 12/02/04 at 17:36         By: Andreas Metzler <ametzler>
Actually the problem is -xdev, which is not recognized as global option, this 
might be enough:
-{ARG_TEST,               "xdev",                  parse_xdev}
+{ARG_OPTION,             "xdev",                  parse_xdev}












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]