Bug 69861 - [patch] usr.bin/csplit/csplit.1 does not document POSIX behavior.
Summary: [patch] usr.bin/csplit/csplit.1 does not document POSIX behavior.
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tom Rhodes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-01 02:20 UTC by vlad902
Modified: 2012-07-21 16:42 UTC (History)
0 users

See Also:


Attachments
file.diff (348 bytes, patch)
2004-08-01 02:20 UTC, vlad902
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vlad902 2004-08-01 02:20:22 UTC
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
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2004-08-09 13:34:08 UTC
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.
Comment 2 Tim Robbins freebsd_committer freebsd_triage 2004-12-19 04:26:10 UTC
Responsible Changed
From-To: tjr->freebsd-doc

Unassign due to lack of time.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-12-24 10:08:48 UTC
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"
Comment 4 Tom Rhodes freebsd_committer freebsd_triage 2008-12-24 10:08:52 UTC
State Changed
From-To: open->patched

Patched in CURRENT, thanks! 


Comment 5 Tom Rhodes freebsd_committer freebsd_triage 2008-12-24 10:08:52 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me, MFC reminder.
Comment 6 Tom Rhodes freebsd_committer freebsd_triage 2012-07-21 16:41:41 UTC
State Changed
From-To: patched->closed

Changes have been merged for awhile now, thanks.