$ for i in `cut -d" " -f1 f2.txt`; do R1=`grep -w ${i} f2.txt| cut -d" + " -f2-6` ; R2=`grep -w ${i} f1.txt `; printf "$R2 $R1\n"; done
In reply to Re: Two files; if cells match then copy over other columns
by umasuresh
in thread Two files; if cells match then copy over other columns
by Renyulb28
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |