User: shanfeng -- 2013-09-13 << 1130 1132 >> |
Hits: 3953 |
Type: Text merge |
Search all Text merge examples |
Description: |
How to replace certain column from different files? |
Input Sample: |
file1: a b c d e f file2: 1 2 3 4 5 6 |
Output Sample: |
file1 1 b 3 4 e 6 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
The solution is to get different columns from different file and put them together. Following example will make a file with 3 columns: file2-column1, file1-column2, file2-column3 1. ctrl-h open 'replace' dialogue * set 'replace with pattern' to: 2. click 'replace', done. 3. ctrl-s save to a new file. Note: * make sure the file path are correct as d:\\test\\file1.txt file2.txt * make sure the column are separated by space |
Screenshot 1: Replace_Window |
Similar Examples: |
How to replace the certain column with specified words? (74%) How to replace different lines with different rule? (71%) How to replace the second column in a tab seperated file? (67%) How to extract the forth column in the second line from different files? (67%) How to replace specific column with specific rule in csv file? (64%) How to delete the second column in multiple text files? (64%) How to replace the same words in text files with different strings? (63%) How to replace the 4th column if the 5th column is 0? (61%) |
Check Demo of Text merge |
Keywords: |
different columns transpose trans together path file path text merge merge merg mer merge files separated replace the certain column the certain column merge path space columns column by column merge files merge by column merge columns |