From vlad@sig11.zemos.net  Sun Aug  1 01:17:02 2004
Return-Path: <vlad@sig11.zemos.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D592216A500
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  1 Aug 2004 01:17:01 +0000 (GMT)
Received: from sig11.zemos.net (66-75-228-54.san.rr.com [66.75.228.54])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE6F43D48
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  1 Aug 2004 01:16:59 +0000 (GMT)
	(envelope-from vlad@sig11.zemos.net)
Received: by sig11.zemos.net (Postfix, from userid 1009)
	id 5AA7833DCD; Sat, 31 Jul 2004 18:19:41 -0700 (PDT)
Message-Id: <20040801011941.5AA7833DCD@sig11.zemos.net>
Date: Sat, 31 Jul 2004 18:19:41 -0700 (PDT)
From: vlad902@gmail.com
Reply-To: vlad902@gmail.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] usr.bin/csplit/csplit.1 does not document POSIX behavior.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69861
>Category:       docs
>Synopsis:       [patch] usr.bin/csplit/csplit.1 does not document POSIX behavior.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 01 01:20:22 GMT 2004
>Closed-Date:    Sat Jul 21 15:42:15 UTC 2012
>Last-Modified:  Sat Jul 21 15:42:15 UTC 2012
>Originator:     Vlad Tsyrklevich
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 5.2-RELEASE FreeBSD 5.2-RELEASE #5: Fri Jun 25 18:43:59 PDT 2004 vlad@:/usr/obj/usr/src/sys/core-dump i386


	
>Description:
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. 
	
>How-To-Repeat:
man 1 csplit
	
>Fix:
--- csplit.diff ---
--- usr.bin/csplit.1    Sat Jul 31 16:55:13 2004
+++ usr.bin/csplit.1    Sat Jul 31 16:58:53 2004
@@ -59,12 +59,7 @@
 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
-------------------
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->tjr 
Responsible-Changed-By: roam 
Responsible-Changed-When: Mon Aug 9 12:34:08 GMT 2004 
Responsible-Changed-Why:  
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. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69861 
Responsible-Changed-From-To: tjr->freebsd-doc 
Responsible-Changed-By: tjr 
Responsible-Changed-When: Sun Dec 19 04:26:10 GMT 2004 
Responsible-Changed-Why:  
Unassign due to lack of time. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69861 
State-Changed-From-To: open->patched 
State-Changed-By: trhodes 
State-Changed-When: Wed Dec 24 10:08:52 UTC 2008 
State-Changed-Why:  
Patched in CURRENT, thanks! 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Wed Dec 24 10:08:52 UTC 2008 
Responsible-Changed-Why:  
Over to me, MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69861 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/69861: commit references a PR
Date: Wed, 24 Dec 2008 10:08:48 +0000 (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"
 
State-Changed-From-To: patched->closed 
State-Changed-By: trhodes 
State-Changed-When: Sat Jul 21 15:41:41 UTC 2012 
State-Changed-Why:  
Changes have been merged for awhile now, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69861 
>Unformatted:
