On Fri 15 Dec 2023 at 08:58:10 (-0500), Greg Wooledge wrote: > On Fri, Dec 15, 2023 at 02:30:21PM +0100, Nicolas George wrote: > > Greg Wooledge (12023-12-15): > > > readarray -d '' fndar < <( > > > find "$sdir" ... -printf 'stuff\0' | > > > sort -z --otherflags > > > ) > > > It is possible to do it safely in bash plus command-line tools, indeed. > > But in such a complex case, it is better to use something with a > > higher-level interface. I am sure File::Find and Version::Compare can > > let Perl do the same thing in a much safer way. > > Equally safe, perhaps. Not safer. I don't know those particular perl > modules -- are they included in a standard Debian system, or does > one need to install optional packages? And then there's a learning > curve for them as well. > > By the way, your MUA is adding 10000 years to its datestamps.
Don't knock it: beats using the French Republican calendar. But I miss the hours:minutes used by most MUAs (the minutes being relatively unaffected by time zones). They can help with following threads stored in different locations. Cheers, David.