|
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
[Prev in Thread] | Current Thread | [Next in Thread] |