split (1)


NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OPERANDS
COPYRIGHT
Source Code

NAME

split - split a file into pieces

SYNOPSIS

split

[-l line_count] [-a suffix_length] [file [name]]

split

-b n[k|m] [-a suffix_length] [file [name]]

DESCRIPTION

The split utility reads an input file and writes zero or more output files. The default size of each output file is 1000 lines. The size of the output files can be modified by specification of the -b or -l

OPTIONS

-a suffix_length

Use suffix_length letters to form the suffix portion of the filenames of the split files. If -a is not specified, the default is two.

-b n

Split a file into pieces n bytes in size.

-b nk

Split a file into pieces n*1024 bytes in size.

-b nm

Split a file into pieces n*1048576 bytes in size.

-l line_count

Specify the number of lines in each resulting file piece. The line_count argument is an unsigned decimal integer. The default is 1000.

OPERANDS

file

The pathname of the file to be split. If no file is given or file is ’-’, the standard input is used.

name

The prefix to be used for each of the files resulting from the split operation. If no name is given, ’x’ is used as the prefix of the output files.

COPYRIGHT

Copyright © 2021 Benjamin Stürz
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Generated using groff on 2022-07-19 01:11:30 (UTC)

Look at my source code on GitHub Memes
This website is licensed under the terms of the AGPLv3.
Tor link: 3gto4zix3cpwhq32sh5ygsr3brlmgy4pdf26md46e4zpzfzmbftw3cyd.onion