]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Change 'split' to conform to POSIX. It now accepts an -a or
authorJim Meyering <jim@meyering.net>
Fri, 15 Feb 2002 15:22:32 +0000 (15:22 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 15 Feb 2002 15:22:32 +0000 (15:22 +0000)
--suffix-length option, and refuses to generate more files
than there are suffixes.

Document this.

doc/coreutils.texi

index da8a0528ce2fb1eeb9b1d5fbe669fb39d696b18b..6bc62a3bd9e5b8ddf7b1b96b85c800b9201b769b 100644 (file)
@@ -2231,15 +2231,22 @@ left over for the last section), into each output file.
 
 @cindex output file name prefix
 The output files' names consist of @var{prefix} (@samp{x} by default)
-followed by a group of letters @samp{aa}, @samp{ab}, and so on, such
-that concatenating the output files in sorted order by file name produces
-the original input file.  (If more than 676 output files are required,
-@code{split} uses @samp{zaa}, @samp{zab}, etc.)
+followed by a group of letters (@samp{aa}, @samp{ab}, @dots{} by default),
+such that concatenating the output files in sorted order by file name produces
+the original input file.  If the output file names are exhausted,
+@command{split} reports an error without deleting the output files
+that it did create.
 
 The program accepts the following options.  Also see @ref{Common options}.
 
 @table @samp
 
+@item -a @var{length}
+@itemx --suffix-length=@var{length}
+@opindex -a
+@opindex --suffix-length
+Use suffixes of length @var{length}.  The default @var{length} is 2.
+
 @item -l @var{lines}
 @itemx --lines=@var{lines}
 @opindex -l