Linux Command Encyclopedia document editing: Csplit

Source: Internet
Author: User
Keywords Linux Command Encyclopedia Csplit document editing
Tags aliyun command encyclopedia document document editing file files function help

Function Description: Split file.

Grammar: csplit&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-kqsz] [-b< output format [-f< output Character First string [-n< Output filename Number [--help] [--version] File] [Template style ...]

Supplementary Note: The file according to the specified model of the template to be cut, respectively, save famous known as xx00,xx01,xx02 ... Files. If the given file name is "-", the csplit instruction reads the data from the standard input device.

Parameters:
-b< output format > or--suffix-format=< output format > preset output format its filename is called xx00,xx01 ... , you can change the file name of the output by changing the < output format >.
-f< output character First string > or--prefix=< output Word first string > preset output Word first string its filename is xx00,xx01 ... And so on, if you specify that the first string of the output word is "hello", the output file name becomes hello00,hello01 ... And so on.
-K or--keep-files keep the file, even if there is an error or interrupt execution, you can not delete the saved files have been exported.
-n< output filename bits > or--digits=< output file name digits > preset output file name digits its filename is called xx00,xx01 ... And so on, if you specify that the output filename is "3", the output file name becomes xx000,xx001 ... And so on.
The-Q or-S or--quiet or--silent does not display the instruction execution process.
-Z or--elide-empty-files deletes a length of 0 byte files.
--help online Help.
--version Displays version information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.