[bug #60383] [feature-request] let find read files from stdin or file.
Bernhard Voelker <[email protected]>
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #16, bug #60383 (project findutils):
Looking at BSD's -f documentation - a one-liner - and implementation [1],
it seems just to ensure that the next argv[i] is treated as a starting point
(regardless whether it looks like an option or not).
Furthermore, -f seems to change the handling of the '--' argument.
This seems to be a solution for the 80% case, but if one has file names
like '--', then ...
And this is limited by the maximum command line length while -files0-from
allows an arbitrary number of starting points.
[1] https://github.com/freebsd/freebsd-src/tree/main/usr.bin/find/
Compared to GNU find's -files0-from option, the usefulness of -f seems
to be a bit limited, and the former is the more generic and superior
choice.
Therefore, I'd rather would like to see that POSIX would standardize
the -files0-from option (or a -0 shortcut for it).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60383>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/