Assume you want to find the first word in line 2, and replace it with the first word in line 1, and all words are separated by space. 1. ctrl-o open text file 2. ctrl-h open 'replace' dialogue * set 'replace unit' to 'Line' * set 'unit number filter' to: * set 'replace with pattern' to: 3. click 'replace', done. |