diff options
author | Vadim Zhukov <zhuk@cvs.openbsd.org> | 2015-10-24 15:32:51 +0000 |
---|---|---|
committer | Vadim Zhukov <zhuk@cvs.openbsd.org> | 2015-10-24 15:32:51 +0000 |
commit | 160745992aa0c1a377f24169391dc3ec06c772a9 (patch) | |
tree | 766f3230fc1797ee43764f7dcc178df496aaaae9 | |
parent | 4e0faeb65aca4ef0aed432713f7ced2df7c362e2 (diff) |
Make it more obvious what exact csplit commands will do.
With much help & okay from jmc@
-rw-r--r-- | usr.bin/csplit/csplit.1 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/csplit/csplit.1 b/usr.bin/csplit/csplit.1 index c1b5da39c83..8f7215fcf6b 100644 --- a/usr.bin/csplit/csplit.1 +++ b/usr.bin/csplit/csplit.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csplit.1,v 1.11 2014/02/04 13:26:36 jmc Exp $ +.\" $OpenBSD: csplit.1,v 1.12 2015/10/24 15:32:50 zhuk 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 $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: October 24 2015 $ .Dt CSPLIT 1 .Os .Sh NAME @@ -138,11 +138,12 @@ Split the .Xr mdoc 7 file .Pa foo.1 -into one file for each section (up to 21): +into one file for each section (up to 21 files): .Pp .Dl "$ csplit -k foo.1 '%^\e.Sh%' '/^\e.Sh/' '{20}'" .Pp -Split standard input after the first 99 lines and every 100 lines thereafter: +Split standard input after the first 99 lines and every 100 lines +thereafter (up to 21 files): .Pp .Dl "$ csplit -k - 100 '{19}'" .Sh SEE ALSO |