Case Sensitive Sort Unix Bash Case Sensitive Sort Unix Bash unix unix

Case Sensitive Sort Unix Bash


You probably need to override the locale; most Linux systems default to a UTF8 locale which specifies both case independent sorting and ignoring punctuation.

LANG=C sort filename


normalize your input a bit

tr [A-Z] [a-z] 

Try reading "Unix for poets"