2
I have the following list of files sorted according to Excel:
a1.txt
a10.txt
a11.txt
a12.txt
a2.txt
If I use sort
on Unix/Linux, I get the following order:
a10.txt
a11.txt
a12.txt
a1.txt
a2.txt
where you can see a different behavior for the character .
. Is there an option to get the same order as Excel? I tried -b, -g, -n, ... without success.
Hm, I would think -n would work – Raystafarian – 2015-12-09T11:59:15.480