Hi,
I'm having a bit of trouble thinking of an efficient way to sort a file. The file has contents such as this:
Code:
file1
file3
file5
file2
file4
file6
file7
file8
file11
file10
file9
using the sort command - i can sort most of it, however numbers "10" "11" etc. are being put on top, because they start with a 1 - so the resulting file is:
Code:
file1
file10
file11
file2
file3
file4
file5
file6
file7
file8
file9
is there some way around that?