I want the sort
command to treat all characters equal.
For example, when I do
$ echo -e 'TEST.b\nTESTa\nTESTc' | sort
TESTa
TEST.b
TESTc
the dot is ignored.
I would like to get TEST.b
at the last or first position. However, I cannot find the proper parameter in the manual page.
(my version of sort
is from the GNU core utilities).
echo -e 'TEST.b\nTESTa\nTESTc' | sort -V
also works without setting to locale.