perl -MPath::Tiny -pe 'BEGIN{m/_id = (\d+) id = (\S+)/ and $id{$1}=$2 + for path("contacts.txt")->lines} s/handle_id = (\d+)/$id{$1}/' messa +ges.txt
Memory fault -- brain fried
In reply to Re: Search and replace from one list to another
by NetWallah
in thread Search and replace from one list to another
by NicheArchitecture
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |