[bug #58541] [wishlist] Add optional sort to find

Andreas Metzler <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #3, bug #58541 (project findutils):

[comment #2 Lady Aleena:]
> [comment #1 Andreas Metzler:]
> > Just use
> > find -type f -print0 | sort -fnr --zero-terminated | xargs -r0
whatevercommand
> 
> I did that, but it would be nice not to have to pipe so much.

Well it is the Unix way to have small utilities doing one thing well. There
are good reasons for that. You will to need type | some time but you don't
need to remember what the sort-output option is called for a dozen utilities
and what options this utility-specific sort accepts. Also every added options
makes the documentation harder to read and the program harder to maintain.
(Increased code size, need for a bigger test-suite, etc.)

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.