Here is an extract of a Windows DHCP lease file:

```
10.11.1.3       Infinite    DHCP    5c497d1ee201        xxxx    yyyyy
10.11.1.4   PC-name Infinite    DHCP    0002025e611e        xxxx    yyyyy

```

I would like to get IP and MAC in variable. So here is how i parse each line:

```
 IFS=$'\t' read -r -a array <<< "$line"
 ip=${array[0]}
 mac=${array[3]}

```

Problem is that on the first line there is no name, so I have two consecutive tab between IP and infinite. So with this code, the first line is parsed correctly, but on the second line, I get "DHCP" in variable mac.

How should I correct that?
Thanks