Module Name:    src
Committed By:   wiz
Date:           Tue Feb  4 19:48:48 UTC 2014

Modified Files:
        src/usr.bin/csplit: csplit.1

Log Message:
Correct number of output files in example.
>From Jason McIntyre <jmc@OpenBSD>.

While here, also explain about the extra file in the example and
put .Ex into its own section in the correct place. Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/csplit/csplit.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/csplit/csplit.1
diff -u src/usr.bin/csplit/csplit.1:1.4 src/usr.bin/csplit/csplit.1:1.5
--- src/usr.bin/csplit/csplit.1:1.4	Thu Mar 12 12:35:51 2009
+++ src/usr.bin/csplit/csplit.1	Tue Feb  4 19:48:48 2014
@@ -1,4 +1,4 @@
-.\"	$NetBSD: csplit.1,v 1.4 2009/03/12 12:35:51 joerg Exp $
+.\"	$NetBSD: csplit.1,v 1.5 2014/02/04 19:48:48 wiz Exp $
 .\"
 .\" Copyright (c) 2002 Tim J. Robbins.
 .\" All rights reserved.
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD: src/usr.bin/csplit/csplit.1,v 1.11 2005/01/25 22:29:51 tjr Exp $
 .\"
-.Dd January 4, 2009
+.Dd February 4, 2014
 .Dt CSPLIT 1
 .Os
 .Sh NAME
@@ -121,8 +121,6 @@ After all the patterns have been process
 .Pp
 Requesting to split at a line before the current line number or past the
 end of the file will result in an error.
-.Pp
-.Ex -std
 .Sh ENVIRONMENT
 The
 .Ev LANG , LC_ALL , LC_COLLATE ,
@@ -132,12 +130,14 @@ environment variables affect the executi
 .Nm
 as described in
 .Xr environ 7 .
+.Sh EXIT STATUS
+.Ex -std
 .Sh EXAMPLES
 Split the
 .Xr mdoc 7
 file
 .Pa foo.1
-into one file for each section (up to 20):
+into one file for each section (up to 21 plus one for the rest, if any):
 .Pp
 .Dl "$ csplit -k foo.1 '%^\e.Sh%' '/^\e.Sh/' '{20}'"
 .Pp

Reply via email to