Regex to group output of $(ip addr) interface
For this task, I did not need inet6 (IPv6 stuff), so I left it out. The regex in its current state does not allow for that to be included without manually adding the entire second part
Submitted by anonymous - 6 years ago