I've got a table like this:10.6.6.12 0:50:56:9b:a6:210.6.6.13 fe:9:31:b6:71:1dI must have something like this:10.6.6.12,00:50:56:9b:a6:0210.6.6.13,fe:09:31:b6:71:1dA 0 is always added before any lonely character in the MAC address. I tried the following with bad results:rpl -i :a: :0a: file.txt
How can I reformat MAC address and IP pairs, ensuring each byte of the MAC has a leading zero?
string;csv;mac address