bug-findutils
[Top][All Lists]
Advanced

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

[bug #20909] [wishlist] Alphabetic sort for find


From: Christopher Beland
Subject: [bug #20909] [wishlist] Alphabetic sort for find
Date: Sun, 26 Aug 2007 21:06:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5

URL:
  <http://savannah.gnu.org/bugs/?20909>

                 Summary: [wishlist] Alphabetic sort for find
                 Project: findutils
            Submitted by: beland
            Submitted on: Sunday 08/26/2007 at 21:06
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.29
           Fixed Release: None

    _______________________________________________________

Details:

I recently needed to pass the output of "find" to a script that took in
relative pathnames (for example, the part of the filename not including the
directory path).  Due to the number of files, it would have been quite
convenient, when examining the output of the script, to have the input sorted
alphabetically within a given directory.  Since "find" was accessing multiple
directories in this run, I could not simply pipe the output through "sort",
since this would alphabetize regardless of originating directory, and mix the
filenames of multiple directories together, which would be considerably less
convenient.

It would be handy for this and perhaps other cases, to have an option for
"find" to sort the contents of a directory alphabetically, as is the default
behavior with "ls".  "ls" is unfortunately not a convenient replacement for
this particular case, since it does not have some of the other sophisticated
options that "find" does.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20909>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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