in reply to
exchange words in text
If you are on unix and your data are ordered as you have shown, try:
join file2 file1 | cut -f2-4 -d ' '
[download]
Comment on
Re: exchange words in text
Download
Code
In Section
Seekers of Perl Wisdom