sort: accept new option --batch-size=NMERGE
authorBo Borgerson <gigabo@gmail.com>
Sat, 5 Apr 2008 17:33:51 +0000 (13:33 -0400)
committerJim Meyering <meyering@redhat.com>
Tue, 17 Jun 2008 20:36:51 +0000 (22:36 +0200)
commit20905b0cdcb960c9949763c606f15e7e09d02e00
tree4857729dfcb9dfa816027a106567c166e8260271
parent322c6f2e5cd3d09ed31d9d8dea2310d70f47842a
sort: accept new option --batch-size=NMERGE

* src/sort.c: (static unsigned int nmerge) Replace constant NMERGE.
(specify_nmerge) Validate and apply new option.
(mergefps) Replace some arrays with pointers to xnmalloc'd storage.
* tests/misc/sort-merge: Test new option.
* doc/coreutils.texi: Describe new option.
* NEWS: Advertise new option.
NEWS
doc/coreutils.texi
src/sort.c
tests/misc/sort-merge