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: Alex fxmbsw7 Ratchev
Subject: Re: [PATCH] glob: add shopt globmtimesort to sort globs by mtime
Date: Wed, 16 Nov 2022 19:42:34 +0100

On Tue, Nov 15, 2022, 09:33 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:

> i d be all for changeable glob s appearing
>

by chance integrate into loops expansion of array vars .. not just file
globs ..

>
> On Tue, Nov 15, 2022, 02:40 Chet Ramey <chet.ramey@case.edu> 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.
>>
>> Chet
>>
>> --
>> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>>                  ``Ars longa, vita brevis'' - Hippocrates
>> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>>
>>
>>


reply via email to

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