bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] glob: add shopt globmtimesort to sort globs by mtime


From: Evan Gates
Subject: Re: [PATCH] glob: add shopt globmtimesort to sort globs by mtime
Date: Wed, 16 Nov 2022 10:35:37 -0700

On Mon Nov 14, 2022 at 1:00 PM MST, Chet Ramey wrote:
> On 10/3/22 2:56 PM, Evan Gates wrote:
> > ---
> > 
> > There is currently no good way to sort files by mtime in the shell.
> > It's possible to do so with an ls that supports -t, but parsing ls is
> > problematic. 
>
> Thanks for the patch. There are some good things here, usable stuff, but I
> think I'll look at a more general approach for the next version.

If you're taking care of it, that's awesome.  If you have feedback
and want me to take another shot, I'd be happy to try.  It would
definitely take me longer, but it was fun digging around to see what
I could figure out.

Either way I'm glad to hear that you're considering the idea.
Thanks for all your work on bash.

- emg



reply via email to

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