Code Comments
Programming Forum and web based access to our favorite programming groups.Hi Ed,
It works great.
Many thnks.
haed98.
Ed Morton wrote:
>
>
> M.H wrote:
>
>
> <snip>
>
>
> <snip>
>
>
> <snip>
>
>
>
> Here y'go:
>
> awk 'NR == FNR { time2usr[$1] = $2; next }
> $5 ~ /logon_main.jsp|logon.do/ && $4 in time2usr {
> $3 = time2usr[$4]
> }
> { print }' fileA fileB
>
> Regards,
>
> Ed
>
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.