[英]Linux Sort command
我想知道linux SORT命令使用哪种排序算法?
It 1 uses mergesort rather than quicksort or heapsort for two reasons: 这1使用归并排序 ,而不是快速排序或堆排序的原因有两个:
1. Linux distros are free to choose their own sort utility but I imagine virtually all use GNU sort so I have described that. 1. Linux发行版可以自由选择他们自己的排序实用程序,但我想几乎所有人都使用GNU排序,所以我已经描述过了。
An External R-Way merge sort according to Algorithm details of UNIX Sort Command. 根据UNIX Sort Command的Algorithm详细信息进行外部R-Way合并排序。 Found via this stackoverflow question .
通过这个stackoverflow问题找到。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.