(check_file): Generate each line of output earlier,
authorJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 11:17:42 +0000 (11:17 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 11:17:42 +0000 (11:17 +0000)
commit9503681d8665cc9ebc620cdb6c28f60b1b3d33b7
tree58739796ad6da753d72523314ca47c24f292192d
parent7d8102bec24e6066bbcdf50cf788cd15f13811ea
(check_file): Generate each line of output earlier,
when possible.  It is possible when using none of these options:
--count, -repeated, --all-repeated, --unique.
Based on a patch from Ian Turner.

(check_file): Move declarations of local variables into the scopes where used.
(min): Remove macro definition.
(different): Use MIN, not min.
(SWAP_LINES): New macro.
(check_file): Use it here.
src/uniq.c