Scripting question -- duplicate record problem
Patton Echols
p.echols at comcast.net
Fri Dec 10 06:58:56 UTC 2010
On 12/09/2010 04:27 PM, Cameron Hutchison wrote:
> Patton Echols <p.echols at comcast.net> writes:
>
>
>> Can anyone suggest a way to have the script throw out the second record
>> based only on two fields (First name and last name)?
>>
>
> Something like this should work OK:
>
> if (match($4, "@") && !seen[$1 " " $2]) {
> seen[$1 " " $2] = 1
> print
> }
>
>
Thanks for the reply, that worked great
More information about the ubuntu-users
mailing list