Search Results

Search: Posts Made By: venalla_shine
1,827
Posted By ahamed101
Try this... awk -F"[|-]"...
Try this...

awk -F"[|-]" 'NR==FNR{a[$1]=$2;next}{for(i=3;i<=NF;i++){if($i in a)sub($i,a[$i],$i)}print}' OFS="|" lookupfile contentfile
--ahamed
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy