User: editor -- 2011-08-19 << 837 839 >> |
Hits: 4653 |
Type: Text file parser |
Search all Text file parser examples |
Description: |
How to extract first line from multiple files and generate a new file? |
Input Sample: |
File1: a1 a2 ... File2: b1 b2 ... File3: c1 c2 ... |
Output Sample: |
Generate a new file: a1 b1 c1 ... |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open "Tools->Batch Runner" menu 2. drag and drop multiple files from Windows File Browser to "Batch Runner" window 3. click 'Fast Replace' button, and click 'Add' to add a new rule * set 'search' to: * set 'replace' to: click 'ok' 4. check option of 'reg exp' and 'extract' 5. click 'start' 6. click 'output to single file' button, and select an output file name, done! |
Screenshot 1: Fast_Replace_Window |