bug-findutils
[Top][All Lists]
Advanced

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

[bug #60383] [feature-request] let find read files from stdin or file.


From: Bernhard Voelker
Subject: [bug #60383] [feature-request] let find read files from stdin or file.
Date: Wed, 14 Apr 2021 19:01:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Follow-up Comment #7, bug #60383 (project findutils):

@James (#comment3): thanks for listing those restrictions; I also thought
about them in this way.

Especially no. 1 (the seek position in the file) would maybe be tricky to to
ensure.  But I think it's an extreme corner case to continue processing after
find; e.g. count the entries in the list after 'find' has found e.g. the first
file younger than 10 days and quits:


cat file \
  | { find -files0-from=- -mtime -10 -quit; \
      wc --files0-from=- -l; }


I'll start working on a patch - unless someone else already has something to
show.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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