I agree that it does “the right thing”, that is it behaves as documented. But that “right thing” could be surprising to a human.
There’s ls -v which does “version sort” which would seem like a more reasonable default, at least for human consumption. I know it’s impossible to change now because a bajillion tools all over the place depend on the sort order.
I agree that it does “the right thing”, that is it behaves as documented. But that “right thing” could be surprising to a human.
There’s
ls -v
which does “version sort” which would seem like a more reasonable default, at least for human consumption. I know it’s impossible to change now because a bajillion tools all over the place depend on the sort order.However new tools like
eza
do this by default: