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

Re: update file

2005-07-14 Thread Rafael Morales
{ if ( $nomina[0] == $bucareli[0] ) { $match = 1; } } } if ( $match == 1 ) { print FILE2 "$nomina[0]\n"; } } - Original Message - From: "Wiggins d'Anconia" <

Re: update file

2005-07-14 Thread Wiggins d'Anconia
Rafael Morales wrote: > 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 > > se