coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to sort alphabetically?


From: Peng Yu
Subject: How to sort alphabetically?
Date: Sun, 13 Aug 2017 13:59:16 -0500

Hi, "B" is listed before "a". Is there a way to sort alphabetically
(as in an English dictionary)? (I think LC_* might need to be used,
but I am not sure what value it should be.) Thanks.

$ printf '%s\n' a B c | sort
B
a
c

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]