Thread
:
ls sorting of numbered files
View Single Post
#
4
(View Single Post)
11th April 2009
ephemera
Knuth's homeboy
Join Date: Apr 2008
Posts: 537
The file names in 'ls' output are sorted in lexicographic order (dictionary order).
'2' is less than '10' numerically but in lex. order 2 comes after 10.
Last edited by ephemera; 11th April 2009 at
12:15 PM
.
ephemera
View Public Profile
Find all posts by ephemera