all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 36110@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
Subject: bug#36110: find-dired not sorted on any field nor provides a way
Date: Fri, 14 Jun 2019 08:26:57 +0200	[thread overview]
Message-ID: <87a7ekfzri.fsf@igel.home> (raw)
In-Reply-To: <lyd0jh6n4x.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 13 Jun 2019 20:12:14 -0400")

On Jun 13 2019, Glenn Morris <rgm@gnu.org> wrote:

> Glenn Morris wrote:
>
>>> +@code{'("-exec ls -ld @{@} +" . "-ld")}
>>
>> Oh, I see you've changed it to the "+" form.
>> It looks like this does give sorted output, but I find it surprising.
>> Is it assured?
>
> I verified on a directory with a large number of files that the output
> is not sorted. (I didn't see how it could be, given how find works.)
> But it does appear as if individual "chunks" are sorted, which can give
> the appearance of the whole output being sorted if you don't have a lot
> of files.

They are sorted by ls, for each invocation of it.  But it is unspecified
how find will split the invocations if there are more files than fit on
the command line.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





  reply	other threads:[~2019-06-14  6:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-05 23:27 bug#36110: find-dired not sorted on any field nor provides a way 積丹尼 Dan Jacobson
2019-06-06 20:28 ` Juri Linkov
2019-06-06 21:21   ` Drew Adams
2019-06-07  0:25     ` 積丹尼 Dan Jacobson
2019-06-13 21:30       ` Juri Linkov
2019-06-13 23:40         ` Glenn Morris
2019-06-14  0:12           ` Glenn Morris
2019-06-14  6:26             ` Andreas Schwab [this message]
2019-06-14 19:09             ` Juri Linkov
2019-06-14 19:10             ` Juri Linkov
2019-06-14  6:18           ` Eli Zaretskii
2019-06-14 19:12             ` Juri Linkov
2019-06-14  6:06         ` Eli Zaretskii
2019-06-15 22:36           ` Juri Linkov
2019-06-16  2:39             ` Eli Zaretskii
2019-06-16  8:37               ` Andreas Schwab
2019-06-16 14:02                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7ekfzri.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=36110@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.