Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2004 18:19:41 -0700 (PDT)
From:      vlad902@gmail.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/69861: [patch] usr.bin/csplit/csplit.1 does not document POSIX behavior.
Message-ID:  <20040801011941.5AA7833DCD@sig11.zemos.net>
Resent-Message-ID: <200408010120.i711KMNH007094@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69861
>Category:       docs
>Synopsis:       [patch] usr.bin/csplit/csplit.1 does not document POSIX behavior.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 01 01:20:22 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040801011941.5AA7833DCD>