[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58541] [wishlist] Add optional sort to find
From: |
Lady Aleena |
Subject: |
[bug #58541] [wishlist] Add optional sort to find |
Date: |
Thu, 11 Jun 2020 01:49:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?58541>
Summary: [wishlist] Add optional sort to find
Project: findutils
Submitted by: lady_aleena
Submitted on: Thu 11 Jun 2020 05:49:51 AM UTC
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 4.6.0
Discussion Lock: Any
Fixed Release: None
_______________________________________________________
Details:
Yesterday I used find so that I could open the resultant file list in my text
editor, but I wanted the files to be opened in sorted order. That meant that I
could not use the -exec option since I was piping to sort. It would be nice if
I could use something like -sort <maybe some sort options> in find, so that I
do not have to pipe find results to sort.
Example of possible usage:
find . -type f -sort
find . -type f -sort fnr
The first is just a plain sort, the second is a case ignored numeric reversed
sort. (I used options from sort.)
full find version: find 4.6.0.225-235f
OS: Debian 10
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58541>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #58541] [wishlist] Add optional sort to find,
Lady Aleena <=