update file

2005-07-14 Thread Rafael Morales
Hi list. I have two files which I compare: first file: 813|42006|34913|373376|SALAZAR/BERLANGA/JUAN FRANCISCO K00|42004|99|489545|FAUSTO/PERALTA/PORFIRIO 900|72059|2031|237648|CAZARES/GUTIERREZ/ALEJANDRO 211|42005|34913|86258|GUZMAN/DIAZ/CARLOS NOE second file:

Re: update file

2005-07-14 Thread Rafael Morales
] ) { $match = 1; } } } if ( $match == 1 ) { print FILE2 $nomina[0]\n; } } - Original Message - From: Wiggins d'Anconia [EMAIL PROTECTED] To: Rafael Morales [EMAIL PROTECTED] Subject: Re: update file Date

Re: update file

2005-07-14 Thread Wiggins d'Anconia
Because it's up-side down. Why is that? It makes replies harder to read. Why not? Please don't top-post. - Sherm Pendley, Mac OS X list Rafael Morales wrote: This the code I use for compare, and works, but I don't know how to update the file2, I hope you understand me #!/usr/bin/perl use