Linux的sort问题

这周发现sort的一个问题,直接使用的时候居然不按ASCII排序。。。

查了一下,需要这样设置

export LC_CTYPE=en_US.ascii

实际上

LC_CTYPE determines the locale for interpretation of sequences of bytes of text data as characters 

猜你喜欢

转载自fire-balrog.iteye.com/blog/766813