Jim Meyering 86c5a50e86 Do not include closeout.h.
(xfopen): Use stdout if *how != 'r'.
(mergefps): Remove FPS arg.
Open all input files, and close all files when done.
If OFP is null, open the output file (but after opening input files).
All callers changed.
(first_same_file): New function.
(sort, merge): Remove arg OFP; we now open the output file as needed.
All callers changed.
(merge): New arg MAX_MERGE.  All callers changed.
(sort):	For "sort F -o F", close the input before opening the output.
(main): Do not use close_stdout; 'sort' and 'merge' now close stdout.
(This also fixes a close-stdout-twice bug.)
Remove test for overlapping input and output files, as 'sort' no longer
needs to worry about overlap, and 'merge' checks for overlap itself.
Use first_same_file to inform 'merge' about how much to merge at
the top level, to avoid overlap.
2001-03-13 08:28:09 +00:00
.
2001-03-12 10:15:08 +00:00
.
2001-03-13 04:17:57 +00:00
.
2001-03-13 04:17:57 +00:00
2000-12-24 09:34:17 +00:00
.
2001-03-13 04:17:57 +00:00
2001-03-13 08:28:09 +00:00
.
2001-03-12 21:23:29 +00:00
1998-05-03 20:46:29 +00:00
.
1997-02-04 03:29:06 +00:00
2001-03-10 07:52:40 +00:00
S
Description
GNU Coreutils
GPL-3.0
48 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 55.1%
Shell 29.1%
Perl 11.6%
Makefile 2.2%
M4 0.9%
Other 1.1%