HomeFreeBSD

sort: unify the code to read from FILE *

Description

sort: unify the code to read from FILE *

Previously the code to read from a local file or stdin was sperarated
After the change to remove the home made line reader used for stdin
(replaced by getdelim) it apprears that the rest of the code which is
used to read from any FILE * but stdin can benefit from the exact same
change.

Details

Provenance
baptAuthored on Oct 13 2022, 7:36 AM
Parents
rGe8815fb30b34: sort: remove unused function
Branches
Unknown
Tags
Unknown