thickice97 has asked for the wisdom of the Perl Monks concerning the following question:
I have file whose format is
I need the first column value (i.e David). The 3rd column has 4 values in it. I need just the first, 3rd value from the third column (e.g 3 and 10). These 3 values I need to match with the first column, second column and the fourth column from the second file. ANd pull out the mismatch rows.David|Masters|3 2000 10 500 Harry|Undergrad1|4 4000 23 1000
Second file format:
Please advise.David |3 |2000 |10 |500 |Masters |Histor +y |English | harry |2 |4000 |12 |0 |Undergrad |Scienc +es |Math | harry |1 |4000 |23 |1000 |Undergrad |Mat +h |History |
Here there could be spaces in the values of the columns
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching two files
by dragonchild (Archbishop) on Nov 08, 2007 at 19:55 UTC | |
by thickice97 (Initiate) on Nov 08, 2007 at 20:06 UTC | |
by apl (Monsignor) on Nov 08, 2007 at 21:33 UTC | |
|
Re: Matching two files
by gamache (Friar) on Nov 08, 2007 at 20:12 UTC | |
|