[linux shell]sort使用经验
摘要:1. 以tab键为分隔符的表示为: sort –t $’\t’ 如果不加$符号的话,会返回:sort: multi-character tab `\t'的错误。 2. 对中文进行排序, 需要加LC_ALL=C将locale设置成posix标准。因为有可能目前的设置可能导致中文排序不正常。 这是我的设...
阅读全文
posted @ 2012-01-31 21:03
posted @ 2012-01-31 21:03
posted @ 2012-01-30 20:37
posted @ 2011-09-11 20:28