=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/csplit/csplit.1,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/csplit/csplit.1 2007/05/31 19:20:09 1.4 --- src/usr.bin/csplit/csplit.1 2008/12/30 16:22:24 1.5 *************** *** 1,4 **** ! .\" $OpenBSD: csplit.1,v 1.4 2007/05/31 19:20:09 jmc Exp $ .\" .\" Copyright (c) 2002 Tim J. Robbins. .\" All rights reserved. --- 1,4 ---- ! .\" $OpenBSD: csplit.1,v 1.5 2008/12/30 16:22:24 jmc Exp $ .\" .\" Copyright (c) 2002 Tim J. Robbins. .\" All rights reserved. *************** *** 26,32 **** .\" .\" $FreeBSD: src/usr.bin/csplit/csplit.1,v 1.11 2005/01/25 22:29:51 tjr Exp $ .\" ! .Dd $Mdocdate: May 31 2007 $ .Dt CSPLIT 1 .Os .Sh NAME --- 26,32 ---- .\" .\" $FreeBSD: src/usr.bin/csplit/csplit.1,v 1.11 2005/01/25 22:29:51 tjr Exp $ .\" ! .Dd $Mdocdate: December 30 2008 $ .Dt CSPLIT 1 .Os .Sh NAME *************** *** 53,79 **** .Nm reads from standard input. .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 .Dq 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. .It Fl n Ar number ! Use .Ar number ! of decimal digits after the ! .Ar prefix ! to form the file name. ! The default is 2. .It Fl s Do not write the size of each output file to standard output as it is created. --- 53,91 ---- .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 ! Create file names beginning with ! .Ar prefix , ! instead of .Dq xx . .It Fl k ! 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 ! Create file names beginning with .Ar number ! 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.