Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2009 12:47:22 +0000 (UTC)
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187019 - head/usr.bin/csplit
Message-ID:  <200901101247.n0AClMtO097688@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trhodes
Date: Sat Jan 10 12:47:22 2009
New Revision: 187019
URL: http://svn.freebsd.org/changeset/base/187019

Log:
  A bit of rewording for clarity, taken from OpenBSD.
  
  Submitted by:	jmc@OpenBSD.org

Modified:
  head/usr.bin/csplit/csplit.1

Modified: head/usr.bin/csplit/csplit.1
==============================================================================
--- head/usr.bin/csplit/csplit.1	Sat Jan 10 12:39:12 2009	(r187018)
+++ head/usr.bin/csplit/csplit.1	Sat Jan 10 12:47:22 2009	(r187019)
@@ -51,22 +51,39 @@ a dash
 .Nm
 reads from standard input.
 .Pp
+Files are created with a prefix of
+.Dq xx
+and two decimal digits.
+The size of each file is written to standard output
+as it is created.
+If an error occurs whilst files are being created,
+or a
+.Dv HUP ,
+.Dv INT ,
+or
+.Dv TERM
+signal is received,
+all files previously written are removed.
+.Pp
 The options are as follows:
 .Bl -tag -width indent
 .It Fl f Ar prefix
-Give created files names beginning with
-.Ar prefix .
-The default is
+Create file names beginning with
+.Ar prefix ,
+instead of
 .Dq Pa xx .
 .It Fl k
-Do not remove output files.
+Do not remove previously created files if an error occurs or a
+.Dv HUP ,
+.Dv INT ,
+or
+.Dv TERM
+signal is received.
 .It Fl n Ar number
-Use
+Create file names beginning with
 .Ar number
-of decimal digits after the
-.Ar prefix
-to form the file name.
-The default is 2.
+of decimal digits after the prefix,
+instead of 2.
 .It Fl s
 Do not write the size of each output file to standard output as it is
 created.



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