Why does sorting in Emacs vs bash produce differing outputs? What can I do to get the same result in both?
This is the output of diff two files, one sorted in Emacs with sort-lines
, and the other in bash with sort
command:
25a26,28
> /perl5/Filter/Crypto.pm
> /perl5/Filter/Crypto/CryptFile.pm
> /perl5/Filter/Crypto/Decrypt.pm
29,32d32
< /perl5/Filter/Crypto/CryptFile.pm
< /perl5/Filter/Crypto/Decrypt.pm
< /perl5/Filter/Crypto.pm
diff -u
? That would make it easier to read.