URL: <https://savannah.gnu.org/bugs/?66965>
Summary: Multiple -files0-from args overwrite each other
Group: findutils
Submitter: tavianator
Submitted: Sun 30 Mar 2025 02:45:33 PM UTC
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.10.0
Fixed Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 30 Mar 2025 02:45:33 PM UTC By: Tavian Barnes <tavianator>
If you specify -files0-from twice, only the last one takes effect:
tavianator@tachyon $ printf find/tree.c >a
tavianator@tachyon $ printf find/util.c >b
tavianator@tachyon $ find -files0-from a -files0-from b
find/util.c
This is somewhat surprising, and there's no warning or anything. I think
ideally it would use the starting points from both files.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66965>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
