| User: editor -- 2010-05-18 << 512 514 >> |
| Hits: 428 |
| Type: Text file splitter |
| Search all Text file splitter examples |
| Description: |
| How to extract the line 2-9, 12-19, 22-29, ...of a text file into multiple files? Need to skip line 1, 10,11, 20,21, 30,31, 40,41, ... |
| Input Sample: |
| input file: a1 a2 a3 a4 ... |
| Output Sample: |
| output file 1: a2 a3 ... a9 output file2 a12 a13 ... a19 output file 3: ... |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open source text file 2. open menu of "File->Save As->Save to files -- split by bytes/lines" * in "Settings", set "Split file by" entry to: put the mouse point over the entry, you will find the hint poped up like (1),8,(2),8,(2),8... which means split text by 8 lines, and skip 1 line at begin, skip 2 lines at middle. * select "Bytes"/"Lines" to be "Lines" * click "Next", and select the base output filename * click "Save", your file will be splitted into multiple files file.001, file.002, ... with 8 lines in each. |
Similar Examples: |
| How to extract all lines that contain "abc" from multiple files? (61%) How to sort all the lines of a text file by order the multiple columns? (61%) How to extract all text enclosed by H1 tag from multiple html files? (60%) How to extract 5 unique lines from a text file with 30 lines? (59%) How to extract half of lines from a text file randomly? (56%) How to extract all lines with more than 30 characters from multiple files? (56%) How to extract titles of all html files and save them to one file? (56%) How to extract and remove common lines from multiple files? (55%) |
Check Demo of Text file splitter |
| Keywords: |
| 101 skip splitter text file splitter bytes split file by find byte settings setting split text file into multiple lines find line and save to a text find text and output extract begin extract begin with split the text file into multiple files extract multiple lines split text file into multiple |