View Single Post
  #4   (View Single Post)  
Old 11th April 2009
ephemera's Avatar
ephemera ephemera is offline
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.
Reply With Quote