The csplit man page documents the description for the '-k' option ambiguously. usr.bin/csplit/csplit.1 documents it as "Do not remove output files if an error occurs or a HUP, INT or TERM signal is recieved." POSIX states that output files are not removed in any situation, not just when an error occurs or a specific signal is caught. csplit does comply with this behavior, but it is documented unclearly. Fix: --- csplit.diff --- How-To-Repeat: man 1 csplit
Responsible Changed From-To: freebsd-doc->tjr This should be a no-brainer, but still turn it over to Tim, who should know best - after all, he implemented our csplit(1) utility :) Thanks for noticing this and letting us know.
Responsible Changed From-To: tjr->freebsd-doc Unassign due to lack of time.
Author: trhodes Date: Wed Dec 24 10:08:39 2008 New Revision: 186477 URL: http://svn.freebsd.org/changeset/base/186477 Log: Update the description of -k, output files appear to be left regardless of an error, signal, or complete run. PR: 69861 Submitted by: vlad902@gmail.com Modified: head/usr.bin/csplit/csplit.1 Modified: head/usr.bin/csplit/csplit.1 ============================================================================== --- head/usr.bin/csplit/csplit.1 Wed Dec 24 09:17:30 2008 (r186476) +++ head/usr.bin/csplit/csplit.1 Wed Dec 24 10:08:39 2008 (r186477) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 26, 2005 +.Dd December 24, 2008 .Dt CSPLIT 1 .Os .Sh NAME @@ -59,12 +59,7 @@ Give created files names beginning with The default is .Dq Pa xx . .It Fl k -Do not remove output files if an error occurs or a -.Dv HUP , -.Dv INT -or -.Dv TERM -signal is received. +Do not remove output files. .It Fl n Ar number Use .Ar number _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
State Changed From-To: open->patched Patched in CURRENT, thanks!
Responsible Changed From-To: freebsd-doc->trhodes Over to me, MFC reminder.
State Changed From-To: patched->closed Changes have been merged for awhile now, thanks.