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: [EMAIL PROTECTED]
             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/



_______________________________________________
Bug-findutils mailing list
Bug-findutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to