| User: editor -- 2010-10-11 << 626 628 >> |
| Hits: 4208 |
| Type: Text file parser |
| Search all Text file parser examples |
| Description: |
| How to remove all lines in file b.txt that appearred in a.txt? |
| Input Sample: |
| a.txt: 111 222 333 b.txt: 444 555 666 222 333 999 |
| Output Sample: |
| b.txt 444 555 666 999 |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| Assume the full path of a.txt is d:\test\a.txt 1. ctrl-o open b.txt 2. ctrl-h open 'replace' window * set 'replace unit' to 'Line' * set 'if' to: * click 'Advanced' page: set 'run following at the beginning of replace' to: 3. click 'Replace', done! Note: for version before 2.58, import_values function is not supported, please refer to following procedure: http://www.mind-pioneer.com/services/616_Text_file_parser.html |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |