Date: Thu, 16 May 2024 23:54:12 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= <v...@larryv.me> Message-ID: <0b3fa8d4-7a3f-4bd6-8e8d-f7d1746be...@app.fastmail.com>
| This is the description from the bash.1 that's currently in my local | repository: Thanks. Possibly useful I guess - though I'm not really sure about a possible need to stat() every file from a glob result because that got set to one of the options that needs it. "nosort" seems likely to be the most useful of the available options (that description didn't say what "-nosort" means though - backwards from the order in the directory?) One option that might be useful (and cheap) which isn't there would be to do a numeric sort (falling back to simple strcmp on equality) on the file names - I use MH (nmh) for my mail, and needing to use ? ?? ??? ???? ????? to get the files in the "correct" order (ie: not 1 10 100 1000 10000 10001 ...) would be useful. And if you're going to do all of that, why not have a list of sort specs, so one can do "blocks,-size,mtime,..." to specify what happens to files with the same number of blocks (and in this case, size, mod time). kre