Is there a way to reverse a file list via glob?
So I would get the same result as with:
ls -r *
I'm using this in a shell-script and
shellcheck
keeps complaining:
> ^--------^ SC2045: Iterating over ls output is fragile. Use globs.
Asked by nath
(6094 rep)
Jan 5, 2020, 03:04 AM
Last activity: Nov 9, 2020, 06:07 PM
Last activity: Nov 9, 2020, 06:07 PM