2
排序命令的行为错误?
我试图对Ubuntu桌面14.04(Trusty Tahr)中文件的内容进行排序。就我而言,预期结果应该与原始内容相同,但实际结果却不同。为什么? # cat test.txt a++-a a++-b a++-c ab ac # cat test.txt | sort a++-a ab a++-b ac a++-c
14
command-line
sort