If I have a file with some words starting with Capital letters and some starts with Small letters and some start with numbers or special characters. Does using
sort -u input > output convert the letter in the input file to lower case in the output file?
For some reason this seems what happened with me. However, if not, I need a method to first convert the capital letters initials if found to small.