freebsd-skq/usr.bin/csplit
Conrad Meyer 48b644192d csplit(1): Fix extraneous output in edge case
When the input to csplit contains fewer lines than the number of matches
specified, extra output was mistakenly included in some output files.

Fix the bug and add a simple ATF regression test.

PR:		219024
Submitted by:	J.R. Oldroyd <fbsd at opal.com>
2017-05-08 15:51:29 +00:00
..
tests csplit(1): Fix extraneous output in edge case 2017-05-08 15:51:29 +00:00
csplit.1
csplit.c csplit(1): Fix extraneous output in edge case 2017-05-08 15:51:29 +00:00
Makefile csplit(1): Fix extraneous output in edge case 2017-05-08 15:51:29 +00:00
Makefile.depend