User: editor -- 2010-12-19 << 678 680 >> |
Hits: 4006 |
Type: Text data calculation |
Search all Text data calculation examples |
Description: |
How to calculate the summary of all numbers in multiple files? |
Input Sample: |
file1.txt: 13002 256 file2.txt: 14310 14310 file3.txt: ... |
Output Sample: |
output.txt: file1 13258 file2 28620 file3 ... ... |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open 'Tools->Batch Runner' window 2. drag multiple text files from Windows to "Batch Runner" window 3. set "output filename" to "output.txt" 4. click "Fast Replace" button 5. click "Add", set "Search" to: set "Replace" to: click "OK" 6. set "Write Mode" to ">> Append" 7. click "Start", all numbers in text file will be added. all characters other than digits will be skipped. |
Screenshot 1: Batch_Runner_Window |