docs/69861: [patch] usr.bin/csplit/csplit.1 does not document POSIX behavior.
vlad902 at gmail.com
vlad902 at gmail.com
Sun Aug 1 01:20:22 UTC 2004
>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:
More information about the freebsd-doc
mailing list