bug-findutils
[Top][All Lists]
Advanced

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

[bug #15360] Erroneous message


From: anonymous
Subject: [bug #15360] Erroneous message
Date: Tue, 3 Jan 2006 13:47:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15360>

                 Summary: Erroneous message
                 Project: findutils
            Submitted by: None
            Submitted on: Tue 01/03/06 at 13:47
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Bill Gradwohl
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 4.2.20
           Fixed Release: None

    _______________________________________________________

Details:

This works as expected:
find . -maxdepth 1 -type d | while read x; do echo $x; done
But this doesn't:
find . -type d -maxdepth 1 | while read x; do echo $x; done
find: warning: you have specified the -maxdepth option after a non-option
argument -type, but options are not positional (-maxdepth affects tests
specified before it as well as those specified after it).  Please specify
options before other arguments.

The actual results are identical, but one blurts out an erroneous message on
stderr.




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
bill --AT-- ycc --DOT-- com         | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15360>

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





reply via email to

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