diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-03-23 11:54:19 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-03-24 10:23:29 +0000 |
commit | 56ff7a67601e79d9f7bf2fb946204a5482aa9302 (patch) | |
tree | 1a3e003b85b50592d134de49b7cbcf88391e1926 /src/system.h | |
parent | 01fb984887ce6fdd71d563e57c6b59155a1f4cb7 (diff) | |
download | coreutils-56ff7a67601e79d9f7bf2fb946204a5482aa9302.tar.xz |
wc: use a more adaptive wc -l implementation
* src/wc.c (wc): Allow any block to select the count implementation,
rather than just using the first 10 lines. This also simplifies
the code from 3 loops to 2.
Diffstat (limited to 'src/system.h')
0 files changed, 0 insertions, 0 deletions