Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2017 15:52:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219024] [patch] csplit leaves last matching pattern at end of file N-1 as well as in file N
Message-ID:  <bug-219024-8-gt1EN5UNoC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219024-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219024-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219024

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: cem
Date: Mon May  8 15:51:29 UTC 2017
New revision: 317942
URL: https://svnweb.freebsd.org/changeset/base/317942

Log:
  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>

Changes:
  head/usr.bin/csplit/Makefile
  head/usr.bin/csplit/csplit.c
  head/usr.bin/csplit/tests/
  head/usr.bin/csplit/tests/Makefile
  head/usr.bin/csplit/tests/csplit_test.sh

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219024-8-gt1EN5UNoC>