History log of /freebsd-current/usr.bin/csplit/tests/csplit_test.sh
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 48b64419 08-May-2017 Conrad Meyer <cem@FreeBSD.org>

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>