bug-findutils
[Top][All Lists]
Advanced

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

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


From: Andreas Metzler
Subject: [bug #58541] [wishlist] Add optional sort to find
Date: Thu, 11 Jun 2020 12:04:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

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/




reply via email to

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