Update of bug #66965 (group findutils):

                  Status:                    None => Working as Intended
             Assigned to:                    None => berny

    _______________________________________________________

Follow-up Comment #1:

Thanks for the report.
However, it is quite common in the GNU world that an option with
another argument overwrites the one passed first.


ls --sort=time --sort=size


There's also another example for a tool having a --files0-from=FILE option:

$ printf b > b
$ printf a > a
$ du --files0-from=a --files0-from=b
4       b
$ du --files0-from=b --files0-from=a
4       a


In that regard, the behavior might be surprising, yet IMO the
implementation in GNU find(1) is fine.
In contrast, things might get more complicated - at least in the
implementation - if find(1) would accept and process more given files e.g. for
'-files0-from - -files0-from -' or even '-files0-from - -files0-from
/dev/stdin'.  Let's keep it simple.

As such, I'm meanwhile setting this issue to "working as intended".

I only see that the current behavior is not explicitly documented.  I consent
we should do that.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66965>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to