这周发现sort的一个问题,直接使用的时候居然不按ASCII排序。。。
查了一下,需要这样设置
export LC_CTYPE=en_US.ascii
实际上
LC_CTYPE determines the locale for interpretation of sequences of bytes of text data as characters
这周发现sort的一个问题,直接使用的时候居然不按ASCII排序。。。
查了一下,需要这样设置
export LC_CTYPE=en_US.ascii
实际上
LC_CTYPE determines the locale for interpretation of sequences of bytes of text data as characters