[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] glob: add shopt globmtimesort to sort globs by mtime
From: |
Chet Ramey |
Subject: |
Re: [PATCH] glob: add shopt globmtimesort to sort globs by mtime |
Date: |
Mon, 14 Nov 2022 15:00:34 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
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/
- Re: [PATCH] glob: add shopt globmtimesort to sort globs by mtime,
Chet Ramey <=