I am running Ubuntu 12 and a while back I wrote a small script file to manipulate a text file which I use for a workshop index.
The most important function is to sort the file into alphabetical order that I did with the command
sort -df
This worked well when first written as the directory sort paid attention to leading spaces and tabs placing lines of text with leading spaces at the head of the file.
It now will not do that and the same script file just does a straight alphabetical sort and ignores spaces. This is not what I need. Reading the manual (man) and other documentation seems to agree with me.
What can I do to return to what I need? Thanks for any help you can supply. Regards Charlie