User: Verotiana -- 2013-09-02 << 1123 1125 >> |
Hits: 4505 |
Type: Text file parser |
Search all Text file parser examples |
Description: |
How to extract last 100 lines from multiple files? |
Input Sample: |
line1 line2 ... lineN-99 lineN-98 ... lineN |
Output Sample: |
lineN-99 lineN-98 ... lineN |
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 multiple text file to "Batch Runner" window 3. check option of "change output folder", and select a new folder for output file 4. click "Fast Replace" button to open "Fast Replace" dialogue 5. click "add" to add new rules: * set 'search' to: * set 'replace' to: * click ok 6. make sure "reg exp", "cross line" and "extract" flag are checked 7. click "start", all files will be extract to the new folder with original filename. |
Screenshot 1: Fast_Replace_Window |