User: user -- 2016-03-22 << 1355 1357 >> |
Hits: 3340 |
Type: Text merge |
Search all Text merge examples |
Description: |
how to batch process sample #1354, there are many files in a folder, I'd like to copy same lines and combine different lines from 2 files in batch. The file names are related to each other. i.e. 1001chs.txt related to 1001eng.txt; 1002chs.txt related to 1002eng.txt; 1003chs.txt related to 1003eng.txt |
Input Sample: |
File 1001eng.txt: 1 1.1 What's going on? 2 2.1 What do you mean? File 1001chs.txt: 1 1.1 ÔõôÁË? 2 2.1 ʲôÔõôÁË? |
Output Sample: |
1 1.1 What's going on? ÔõôÁË? 2 2.1 What do you mean? ʲôÔõôÁË? |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. ctrl-h open 'replace' dialogue * set 'replace unit' to 'Line' * set 'replace with pattern' to: * set 'if =>' to: * click 'advanced' tab, set 'run following at the beginning of replace' to: 3. click 'batch...' button open batch runner 4. drag all *eng.txt from file browser to "Batch Runner" window 5. set 'output file name' to: 6. click 'Batch Replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |